fix crash with two different backstacks
This commit is contained in:
parent
ad4712d770
commit
490aa80528
|
|
@ -10,9 +10,8 @@ import ru.touchin.roboswag.components.navigation.viewcontrollers.ViewControllerN
|
|||
*/
|
||||
abstract class BottomNavigationActivity : NavigationActivity() {
|
||||
|
||||
open val innerNavigation by lazy {
|
||||
getNavigationContainer(supportFragmentManager)?.navigation ?: navigation as ViewControllerNavigation<BottomNavigationActivity>
|
||||
}
|
||||
val innerNavigation: ViewControllerNavigation<BottomNavigationActivity>
|
||||
get() = getNavigationContainer(supportFragmentManager)?.navigation ?: navigation as ViewControllerNavigation<BottomNavigationActivity>
|
||||
|
||||
private fun getNavigationContainer(fragmentManager: FragmentManager?): NavigationContainerFragment? =
|
||||
fragmentManager
|
||||
|
|
|
|||
Loading…
Reference in New Issue