Skip to content

Commit

Permalink
fix: clipboard item text color not follow theme key text color
Browse files Browse the repository at this point in the history
  • Loading branch information
if-can committed Jan 12, 2025
1 parent 7af9597 commit 239a344
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@ class SimpleItemUi(
typeface = FontManager.getTypeface("long_text_font")
setPaddingDp(8, 4, 8, 4)
ellipsize = TextUtils.TruncateAt.END
ColorManager.getColor("long_text_color")?.let {
(
ColorManager.getColor("long_text_color")
?: ColorManager.getColor("key_text_color")
)?.let {
setTextColor(it)
}
}
Expand Down

0 comments on commit 239a344

Please sign in to comment.