Add dismissAllowingStateLoss

This commit is contained in:
Chumva 2018-09-07 13:45:40 +03:00
parent 45dbd7d5da
commit 956606e3f6

View file

@ -87,7 +87,7 @@ class LoginDialogFragment : BaseDialogFragment() {
fun dismiss(fragmentManager: FragmentManager) {
val loginDialogFragment = getFragment(fragmentManager)
loginDialogFragment?.dismissedManually = true
loginDialogFragment?.dismiss()
loginDialogFragment?.dismissAllowingStateLoss()
}
private fun getFragment(fragmentManager: FragmentManager): LoginDialogFragment? {