From 7e8c69fa70095f73bcb9a1fb1f429ee4f1cfb3d7 Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 9 Sep 2023 08:43:18 +0200 Subject: [PATCH] Revert "Use activated highlight color for suggestions" This reverts commit be043f28e00b19272df6edca0cf543dfe0226e9e. --- app/src/main/java/eu/faircode/email/LanguageTool.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/LanguageTool.java b/app/src/main/java/eu/faircode/email/LanguageTool.java index 49526c064b..fc46446689 100644 --- a/app/src/main/java/eu/faircode/email/LanguageTool.java +++ b/app/src/main/java/eu/faircode/email/LanguageTool.java @@ -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); }