mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-21 01:13:56 +00:00
navbar fix (#135)
* navbar fix * fixed can uninstall after changing grid view * removes server selector in offline mode shows amount of Scanlator present
This commit is contained in:
@@ -152,6 +152,11 @@ class MainActivity : AppCompatActivity() {
|
||||
initActivity(this)
|
||||
uiSettings = loadData("ui_settings") ?: uiSettings
|
||||
selectedOption = uiSettings.defaultStartUpTab
|
||||
if (!uiSettings.immersiveMode) {
|
||||
binding.includedNavbar.navbarContainer.updateLayoutParams<ViewGroup.MarginLayoutParams> {
|
||||
bottomMargin = navBarHeight
|
||||
}
|
||||
}
|
||||
}
|
||||
val offline = getSharedPreferences("Dantotsu", Context.MODE_PRIVATE)
|
||||
.getBoolean("offlineMode", false)
|
||||
|
||||
Reference in New Issue
Block a user