mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-08 06:42:21 -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)
|
activity.supportActionBar?.setDisplayHomeAsUpEnabled(true)
|
||||||
toolbar?.let { activity.setupDrawerToggle(it, true) }
|
toolbar?.let { activity.setupDrawerToggle(it, true) }
|
||||||
setFragmentContainerBottomMarginToSizeOfNavBar()
|
|
||||||
openPageInBookFromNavigationArguments()
|
openPageInBookFromNavigationArguments()
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -237,6 +236,7 @@ class KiwixReaderFragment : CoreReaderFragment() {
|
|||||||
|
|
||||||
override fun onResume() {
|
override fun onResume() {
|
||||||
super.onResume()
|
super.onResume()
|
||||||
|
setFragmentContainerBottomMarginToSizeOfNavBar()
|
||||||
if (isFullScreenVideo || isInFullScreenMode()) {
|
if (isFullScreenVideo || isInFullScreenMode()) {
|
||||||
hideNavBar()
|
hideNavBar()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user