From da185378832009b8372a4989d67344a7775a3569 Mon Sep 17 00:00:00 2001 From: Thomas Date: Mon, 26 Dec 2022 15:28:23 +0100 Subject: [PATCH] Fix issue #680 - Fix link color issues. --- .../main/java/app/fedilab/android/helper/SpannableHelper.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/app/fedilab/android/helper/SpannableHelper.java b/app/src/main/java/app/fedilab/android/helper/SpannableHelper.java index 55bfb3567..49021fcc7 100644 --- a/app/src/main/java/app/fedilab/android/helper/SpannableHelper.java +++ b/app/src/main/java/app/fedilab/android/helper/SpannableHelper.java @@ -127,7 +127,9 @@ public class SpannableHelper { } else { linkColor = -1; } - + if (linkColor == 0) { + linkColor = -1; + } SpannableString initialContent; if (text == null) { return null;