ruined UI (#138)

* removed auto navbar hide

* ruined rebel's fabulous UI
This commit is contained in:
aayush262 2024-01-18 07:18:17 +05:30 committed by GitHub
parent 8142c966c0
commit 6b2ffdaf4f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 52 additions and 46 deletions

View file

@ -78,10 +78,9 @@ class NoInternet : AppCompatActivity() {
initActivity(this)
uiSettings = loadData("ui_settings") ?: uiSettings
selectedOption = uiSettings.defaultStartUpTab
if (!uiSettings.immersiveMode) {
binding.includedNavbar.navbarContainer.updateLayoutParams<ViewGroup.MarginLayoutParams> {
bottomMargin = navBarHeight
}
binding.includedNavbar.navbarContainer.updateLayoutParams<ViewGroup.MarginLayoutParams> {
bottomMargin = navBarHeight
}
}
val navbar = binding.includedNavbar.navbar