mirror of https://github.com/M66B/FairEmail.git
Use activated highlight color for suggestions
This commit is contained in:
parent
d81dd2bc0f
commit
be043f28e0
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue