Transition fix
This commit is contained in:
parent
a789ae9efe
commit
a55510f8f1
|
|
@ -111,11 +111,10 @@ open class FragmentNavigation(
|
|||
}
|
||||
|
||||
val fragmentTransaction = fragmentManager.beginTransaction()
|
||||
.setTransition(transition)
|
||||
transactionSetup?.invoke(fragmentTransaction)
|
||||
fragmentTransaction.replace(containerViewId, fragment, null)
|
||||
if (addToStack) {
|
||||
fragmentTransaction.addToBackStack(backStackTag)
|
||||
fragmentTransaction.addToBackStack(backStackTag).setTransition(transition)
|
||||
} else {
|
||||
fragmentTransaction.setPrimaryNavigationFragment(fragment)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue