Prevent usage of hard-coded string for contentDescription, and fix existing issues.
This commit is contained in:
parent
2e6803ac41
commit
67ed385e45
12 changed files with 20 additions and 16 deletions
|
|
@ -98,19 +98,19 @@ internal fun FormattingButtonPreview() = ElementPreview {
|
|||
state = FormattingOptionState.Default,
|
||||
onClick = { },
|
||||
imageVector = ImageVector.vectorResource(CommonDrawables.ic_bold),
|
||||
contentDescription = "",
|
||||
contentDescription = null,
|
||||
)
|
||||
FormattingOption(
|
||||
state = FormattingOptionState.Selected,
|
||||
onClick = { },
|
||||
imageVector = ImageVector.vectorResource(CommonDrawables.ic_italic),
|
||||
contentDescription = "",
|
||||
contentDescription = null,
|
||||
)
|
||||
FormattingOption(
|
||||
state = FormattingOptionState.Disabled,
|
||||
onClick = { },
|
||||
imageVector = ImageVector.vectorResource(CommonDrawables.ic_underline),
|
||||
contentDescription = "",
|
||||
contentDescription = null,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue