use a different color for the bottom thread bar
This commit is contained in:
parent
aa26c332df
commit
553c216997
2 changed files with 7 additions and 2 deletions
|
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue