Revert "Use activated highlight color for suggestions"

This reverts commit be043f28e0.
pull/214/head
M66B 12 months ago
parent 61e6dcf2ea
commit 7e8c69fa70

@ -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.colorActivatedHighlight
? android.R.attr.textColorHighlight
: android.R.attr.colorError);
underlineThickness = Helper.dp2pixels(context, (getFlags() & FLAG_MISSPELLED) != 0 ? 2 : 1);
}

Loading…
Cancel
Save