mirror of
https://github.com/SimpleMobileTools/Simple-SMS-Messenger.git
synced 2025-06-05 21:49:22 +02:00
use a different color for the bottom thread bar
This commit is contained in:
@@ -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'
|
||||||
|
@@ -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)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user