Revert "Use activated highlight color for suggestions"

This reverts commit be043f28e0.
This commit is contained in:
M66B 2023-09-09 08:43:18 +02:00
parent 61e6dcf2ea
commit 7e8c69fa70
1 changed files with 1 additions and 1 deletions

View File

@ -476,7 +476,7 @@ public class LanguageTool {
super(context, suggestions, flags); super(context, suggestions, flags);
underlineColor = Helper.resolveColor(context, underlineColor = Helper.resolveColor(context,
Build.VERSION.SDK_INT < Build.VERSION_CODES.Q Build.VERSION.SDK_INT < Build.VERSION_CODES.Q
? android.R.attr.colorActivatedHighlight ? android.R.attr.textColorHighlight
: android.R.attr.colorError); : android.R.attr.colorError);
underlineThickness = Helper.dp2pixels(context, (getFlags() & FLAG_MISSPELLED) != 0 ? 2 : 1); underlineThickness = Helper.dp2pixels(context, (getFlags() & FLAG_MISSPELLED) != 0 ? 2 : 1);
} }