Updated on 2026-08-14
This commit is contained in:
parent
aabfca86e7
commit
a8543c47d4
3 changed files with 4 additions and 8 deletions
|
|
@ -92,7 +92,7 @@ fun PasteButton(
|
|||
when (content) {
|
||||
null -> {
|
||||
val tintColor = tint
|
||||
?: colorResource(id = if (enabled) R.color.accent else R.color.accent_disabled)
|
||||
?: colorResource(id = if (enabled) R.color.button_positive else R.color.button_positive_disabled)
|
||||
Icon(
|
||||
painterResource(id = R.drawable.ic_paste),
|
||||
contentDescription = "Paste",
|
||||
|
|
@ -121,7 +121,7 @@ fun ClearButton(
|
|||
when (content) {
|
||||
null -> {
|
||||
val tintColor = tint
|
||||
?: colorResource(id = if (enabled) R.color.accent else R.color.accent_disabled)
|
||||
?: colorResource(id = if (enabled) R.color.button_positive else R.color.button_positive_disabled)
|
||||
Icon(
|
||||
painterResource(id = R.drawable.ic_clear),
|
||||
contentDescription = "Clear",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue