diff --git a/app/build.gradle b/app/build.gradle index 196ea91d..3c982825 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:c7ef0c82e5' + implementation 'com.github.tibbi:IndicatorFastScroll:c3de1d040a' 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 380ca64d..ea1eb5a7 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,17 +83,16 @@ abstract class MyViewPagerFragment(context: Context, attributeSet: AttributeSet) } } + context.updateTextColors(fragment_wrapper.parent as ViewGroup) fragment_fastscroller?.updatePrimaryColor() fragment_fastscroller?.updateBubblePrimaryColor() + fragment_placeholder_2?.setTextColor(adjustedPrimaryColor) 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() - - context.updateTextColors(fragment_wrapper.parent as ViewGroup) - fragment_placeholder_2?.setTextColor(adjustedPrimaryColor) } fun startNameWithSurnameChanged(startNameWithSurname: Boolean) {