mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-24 01:11:54 +01:00
Fix nav bar having a background sometimes when switching screens
This commit is contained in:
parent
5d2a0feb5f
commit
4cbf1cc785
@ -226,7 +226,7 @@ fun Controller.scrollViewWith(
|
||||
v.layoutParams = params
|
||||
onLeavingController?.invoke()
|
||||
}
|
||||
if (!customPadding && router.backstackSize == 2) {
|
||||
if (!customPadding && router.backstackSize == 2 && changeType == ControllerChangeType.PUSH_EXIT) {
|
||||
val parent = recycler.parent as? ViewGroup ?: return
|
||||
val bottomNav = activityBinding?.bottomNav ?: return
|
||||
val v = View(activity)
|
||||
|
Loading…
Reference in New Issue
Block a user