updating some more texts on resume

This commit is contained in:
tibbi
2021-02-12 19:06:28 +01:00
parent 63ecbf2808
commit 0665d82b0f
2 changed files with 3 additions and 1 deletions

View File

@ -56,7 +56,8 @@ class ContactsFragment(context: Context, attributeSet: AttributeSet) : MyViewPag
override fun setupColors(textColor: Int, primaryColor: Int, adjustedPrimaryColor: Int) {
(fragment_list?.adapter as? MyRecyclerViewAdapter)?.updateTextColor(textColor)
fragment_placeholder_2.setTextColor(primaryColor)
fragment_placeholder.setTextColor(textColor)
fragment_placeholder_2.setTextColor(adjustedPrimaryColor)
letter_fastscroller.textColor = textColor.getColorStateList()
letter_fastscroller_thumb.setupWithFastScroller(letter_fastscroller)

View File

@ -34,6 +34,7 @@ class FavoritesFragment(context: Context, attributeSet: AttributeSet) : MyViewPa
}
override fun setupColors(textColor: Int, primaryColor: Int, adjustedPrimaryColor: Int) {
fragment_placeholder.setTextColor(textColor)
(fragment_list?.adapter as? MyRecyclerViewAdapter)?.updateTextColor(textColor)
letter_fastscroller.textColor = textColor.getColorStateList()