auto hide android navbar (#133)

* auto hide android navbar

* auto hide android navbar
This commit is contained in:
aayush262
2024-01-16 00:25:21 +05:30
committed by GitHub
parent bd6197031a
commit 61150066bd
3 changed files with 16 additions and 16 deletions

View File

@@ -152,9 +152,6 @@ class MainActivity : AppCompatActivity() {
initActivity(this)
uiSettings = loadData("ui_settings") ?: uiSettings
selectedOption = uiSettings.defaultStartUpTab
binding.includedNavbar.navbarContainer.updateLayoutParams<ViewGroup.MarginLayoutParams> {
bottomMargin = navBarHeight
}
}
val offline = getSharedPreferences("Dantotsu", Context.MODE_PRIVATE)
.getBoolean("offlineMode", false)