Skip to content

Commit

Permalink
Merge pull request #2423 from quran/fix_footnote_number_color
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedre authored Oct 13, 2023
2 parents dae54cb + c495aa9 commit b7f84fd
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit b7f84fd

Please sign in to comment.