From c495aa9a2cc540175d0a9c7328ed93628c932f9e Mon Sep 17 00:00:00 2001 From: Ahmed El-Helw Date: Fri, 13 Oct 2023 22:59:40 +0400 Subject: [PATCH] Improve the collapsed footnote number color --- .../quran/labs/androidquran/ui/translation/TranslationAdapter.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/com/quran/labs/androidquran/ui/translation/TranslationAdapter.kt b/app/src/main/java/com/quran/labs/androidquran/ui/translation/TranslationAdapter.kt index b404b50cdd..0b2e4f0d79 100644 --- a/app/src/main/java/com/quran/labs/androidquran/ui/translation/TranslationAdapter.kt +++ b/app/src/main/java/com/quran/labs/androidquran/ui/translation/TranslationAdapter.kt @@ -432,6 +432,7 @@ internal class TranslationAdapter( spannable.setSpan(SuperscriptSpan(), 0, text.length, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE) spannable.setSpan(RelativeSizeSpan(0.7f), 0, text.length, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE) spannable.setSpan(ExpandFootnoteSpan(number, ::expandFootnote), 0, text.length, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE) + spannable.setSpan(ForegroundColorSpan(inlineAyahColor), 0, text.length, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE) return spannable }