fix when expressions
This commit is contained in:
parent
e3da08a47b
commit
09ce885353
|
|
@ -75,7 +75,7 @@ abstract class BaseBottomNavigationController<TNavigationTab : BaseNavigationTab
|
|||
// Detach current primary fragment
|
||||
fragmentManager.primaryNavigationFragment?.let(transaction::detach)
|
||||
|
||||
val fragmentName = tabClass.canonicalName
|
||||
val fragmentName = "tabClass.canonicalName"
|
||||
var fragment = fragmentManager.findFragmentByTag(fragmentName)
|
||||
|
||||
if (state == null && fragment != null) {
|
||||
|
|
|
|||
|
|
@ -55,6 +55,7 @@ class LoadingContentView @JvmOverloads constructor(
|
|||
showChild(R.id.error_with_repeat)
|
||||
}
|
||||
}
|
||||
else -> Unit
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue