Use activated highlight color for suggestions

This commit is contained in:
M66B 2023-09-08 09:50:18 +02:00
parent d81dd2bc0f
commit be043f28e0
1 changed files with 1 additions and 1 deletions

View File

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