use a different color for the bottom thread bar

This commit is contained in:
tibbi
2023-01-02 12:26:59 +01:00
parent aa26c332df
commit 553c216997
2 changed files with 7 additions and 2 deletions

View File

@@ -63,7 +63,7 @@ android {
} }
dependencies { dependencies {
implementation 'com.github.SimpleMobileTools:Simple-Commons:3c6ffa6f87' implementation 'com.github.SimpleMobileTools:Simple-Commons:cf120f1fa8'
implementation 'org.greenrobot:eventbus:3.3.1' implementation 'org.greenrobot:eventbus:3.3.1'
implementation 'com.github.tibbi:IndicatorFastScroll:4524cd0b61' implementation 'com.github.tibbi:IndicatorFastScroll:4524cd0b61'
implementation 'com.github.tibbi:android-smsmms:33fcaf94d9' implementation 'com.github.tibbi:android-smsmms:33fcaf94d9'

View File

@@ -169,7 +169,12 @@ class ThreadActivity : SimpleActivity() {
} }
} }
val bottomBarColor = getBottomNavigationBackgroundColor() val bottomBarColor = if (baseConfig.isUsingSystemTheme) {
resources.getColor(R.color.you_bottom_bar_color)
} else {
getBottomNavigationBackgroundColor()
}
thread_send_message_holder.setBackgroundColor(bottomBarColor) thread_send_message_holder.setBackgroundColor(bottomBarColor)
updateNavigationBarColor(bottomBarColor) updateNavigationBarColor(bottomBarColor)
} }