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