mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
Update Mic icon in the composer bar. Closes #6443
This commit is contained in:
+3
@@ -98,6 +98,9 @@ import kotlinx.coroutines.launch
|
|||||||
import uniffi.wysiwyg_composer.MenuAction
|
import uniffi.wysiwyg_composer.MenuAction
|
||||||
import kotlin.time.Duration.Companion.seconds
|
import kotlin.time.Duration.Companion.seconds
|
||||||
|
|
||||||
|
/**
|
||||||
|
* https://www.figma.com/design/G1xy0HDZKJf5TCRFmKb5d5/Compound-Android-Components?node-id=2012-39036
|
||||||
|
*/
|
||||||
@Composable
|
@Composable
|
||||||
fun TextComposer(
|
fun TextComposer(
|
||||||
state: TextEditorState,
|
state: TextEditorState,
|
||||||
|
|||||||
+1
-1
@@ -42,7 +42,7 @@ private fun StartButton(
|
|||||||
) {
|
) {
|
||||||
Icon(
|
Icon(
|
||||||
modifier = modifier.size(24.dp),
|
modifier = modifier.size(24.dp),
|
||||||
imageVector = CompoundIcons.MicOn(),
|
imageVector = CompoundIcons.MicOnSolid(),
|
||||||
// Note: accessibility is managed in TextComposer.
|
// Note: accessibility is managed in TextComposer.
|
||||||
contentDescription = null,
|
contentDescription = null,
|
||||||
tint = ElementTheme.colors.iconSecondary,
|
tint = ElementTheme.colors.iconSecondary,
|
||||||
|
|||||||
Reference in New Issue
Block a user