crash fix HL | navigateInternal (#5175)
This commit is contained in:
committed by
Shivam Goyal
parent
ea07d98f70
commit
ebeb2236e1
@@ -85,9 +85,11 @@ abstract class HomeLoanBaseActivity : BaseActivity(), Navigator {
|
||||
if (destination != null) {
|
||||
val fragment = getFragment(destination, arguments)
|
||||
if (fragment != null) {
|
||||
supportFragmentManager.beginTransaction().run {
|
||||
replace(containerId, fragment, destination)
|
||||
commit()
|
||||
if (!supportFragmentManager.isStateSaved) {
|
||||
supportFragmentManager.beginTransaction().run {
|
||||
replace(containerId, fragment, destination)
|
||||
commit()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user