mirror of
https://github.com/fcitx5-android/fcitx5-android.git
synced 2026-08-02 20:16:06 +08:00
Update app/src/main/java/org/fcitx/fcitx5/android/input/candidates/floating/LabeledCandidateItemUi.kt
Co-authored-by: rocka <i@rocka.me>
This commit is contained in:
parent
a1bba508da
commit
07233b7e77
@ -31,7 +31,7 @@ class LabeledCandidateItemUi(
|
||||
val fg = if (active) theme.genericActiveForegroundColor else theme.candidateTextColor
|
||||
val altFg = if (active) theme.genericActiveForegroundColor else theme.candidateCommentColor
|
||||
root.text = buildSpannedString {
|
||||
color(fg) { append(candidate.label) }
|
||||
color(labelFg) { append(candidate.label) }
|
||||
color(fg) { append(candidate.text) }
|
||||
if (candidate.comment.isNotBlank()) {
|
||||
append(" ")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user