kopia lustrzana https://github.com/ryukoposting/Signal-Android
Fix crash when calling dismissNow in onDestroy.
rodzic
bfd2686610
commit
71ca39fd4a
|
@ -24,7 +24,7 @@ class DialogFragmentDisplayManager(private val builder: () -> DialogFragment) :
|
||||||
}
|
}
|
||||||
|
|
||||||
fun hide() {
|
fun hide() {
|
||||||
dialogFragment?.dismissNow()
|
dialogFragment?.dismissAllowingStateLoss()
|
||||||
dialogFragment = null
|
dialogFragment = null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue