mirror of
https://github.com/FossifyOrg/File-Manager.git
synced 2026-04-21 06:48:28 -04:00
use the selected navigation bar color if the tab holder isnt visible
This commit is contained in:
@@ -463,7 +463,12 @@ class MainActivity : SimpleActivity() {
|
||||
updateBottomTabItemColors(inactiveView, false)
|
||||
}
|
||||
|
||||
val bottomBarColor = getBottomNavigationBackgroundColor()
|
||||
val bottomBarColor = if (main_tabs_holder.isGone()) {
|
||||
config.navigationBarColor
|
||||
} else {
|
||||
getBottomNavigationBackgroundColor()
|
||||
}
|
||||
|
||||
main_tabs_holder.setBackgroundColor(bottomBarColor)
|
||||
updateNavigationBarColor(bottomBarColor)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user