Skip to content

Commit 239a344

Browse files
author
if-can
committed
fix: clipboard item text color not follow theme key text color
1 parent 7af9597 commit 239a344

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/src/main/java/com/osfans/trime/ime/symbol/SimpleItemUi.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,10 @@ class SimpleItemUi(
4242
typeface = FontManager.getTypeface("long_text_font")
4343
setPaddingDp(8, 4, 8, 4)
4444
ellipsize = TextUtils.TruncateAt.END
45-
ColorManager.getColor("long_text_color")?.let {
45+
(
46+
ColorManager.getColor("long_text_color")
47+
?: ColorManager.getColor("key_text_color")
48+
)?.let {
4649
setTextColor(it)
4750
}
4851
}

0 commit comments

Comments
 (0)