Fix punctuation marks color in suggestion strip (#75)

This commit is contained in:
BlackyHawky 2023-08-12 07:33:57 +02:00 committed by GitHub
parent 5008345e05
commit 0940ac0f15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -544,6 +544,9 @@ final class SuggestionStripLayoutHelper {
wordView.setTextColor(mColorAutoCorrect);
stripView.addView(wordView);
setLayoutWeight(wordView, 1.0f, mSuggestionsStripHeight);
final Colors colors = Settings.getInstance().getCurrent().mColors;
if (colors.isCustom)
wordView.setTextColor(colors.keyText);
}
mMoreSuggestionsAvailable = (punctuationSuggestions.size() > countInStrip);
return countInStrip;