mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 18:56:44 -04:00
Merge pull request #4197 from kiwix/Fixes#4196
Fixed: The bottom bar disappears when reopening the app from the background.
This commit is contained in:
commit
a6a38438ad
@ -84,7 +84,6 @@ class KiwixReaderFragment : CoreReaderFragment() {
|
||||
}
|
||||
activity.supportActionBar?.setDisplayHomeAsUpEnabled(true)
|
||||
toolbar?.let { activity.setupDrawerToggle(it, true) }
|
||||
setFragmentContainerBottomMarginToSizeOfNavBar()
|
||||
openPageInBookFromNavigationArguments()
|
||||
}
|
||||
|
||||
@ -237,6 +236,7 @@ class KiwixReaderFragment : CoreReaderFragment() {
|
||||
|
||||
override fun onResume() {
|
||||
super.onResume()
|
||||
setFragmentContainerBottomMarginToSizeOfNavBar()
|
||||
if (isFullScreenVideo || isInFullScreenMode()) {
|
||||
hideNavBar()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user