diff --git a/app/build.gradle b/app/build.gradle index 46209bcd..196ea91d 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -60,7 +60,7 @@ dependencies { implementation 'com.simplemobiletools:commons:5.33.30' implementation 'joda-time:joda-time:2.10.1' implementation 'com.googlecode.ez-vcard:ez-vcard:0.10.5' - implementation 'com.github.tibbi:IndicatorFastScroll:08f512858a' + implementation 'com.github.tibbi:IndicatorFastScroll:c7ef0c82e5' implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0' kapt "androidx.room:room-compiler:2.2.6" diff --git a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/fragments/MyViewPagerFragment.kt b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/fragments/MyViewPagerFragment.kt index 8d8405e2..380ca64d 100644 --- a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/fragments/MyViewPagerFragment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/fragments/MyViewPagerFragment.kt @@ -83,10 +83,11 @@ abstract class MyViewPagerFragment(context: Context, attributeSet: AttributeSet) } } - letter_fastscroller?.textColor = textColor.getColorStateList() fragment_fastscroller?.updatePrimaryColor() fragment_fastscroller?.updateBubblePrimaryColor() + letter_fastscroller?.textColor = textColor.getColorStateList() + letter_fastscroller?.pressedTextColor = adjustedPrimaryColor letter_fastscroller_thumb?.fontSize = context.getTextSize() letter_fastscroller_thumb?.textColor = adjustedPrimaryColor.getContrastColor() letter_fastscroller_thumb?.thumbColor = adjustedPrimaryColor.getColorStateList()