From b3a30f17d9db61e41465c8de3cbaf63b57e87402 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sat, 27 Nov 2021 19:47:57 +0100 Subject: [PATCH] properly color the new fastscroller --- .../smsmessenger/activities/ThreadActivity.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/activities/ThreadActivity.kt b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/activities/ThreadActivity.kt index b8de34a2..26895261 100644 --- a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/activities/ThreadActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/activities/ThreadActivity.kt @@ -343,6 +343,9 @@ class ThreadActivity : SimpleActivity() { confirm_manage_contacts.applyColorFilter(textColor) thread_add_attachment.applyColorFilter(textColor) + val adjustedPrimaryColor = getAdjustedPrimaryColor() + thread_messages_fastscroller.updateColors(adjustedPrimaryColor, adjustedPrimaryColor.getContrastColor()) + thread_character_counter.beVisibleIf(config.showCharacterCounter) thread_character_counter.setTextSize(TypedValue.COMPLEX_UNIT_PX, getTextSize())