Updated on 2026-08-14

This commit is contained in:
Tangem 2022-12-28 17:56:50 +03:00
parent aabfca86e7
commit a8543c47d4
3 changed files with 4 additions and 8 deletions

View file

@ -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",