mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 21:15:48 +00:00
Fix crash when calling dismissNow in onDestroy.
This commit is contained in:
committed by
Greyson Parrelli
parent
bfd2686610
commit
71ca39fd4a
@@ -24,7 +24,7 @@ class DialogFragmentDisplayManager(private val builder: () -> DialogFragment) :
|
||||
}
|
||||
|
||||
fun hide() {
|
||||
dialogFragment?.dismissNow()
|
||||
dialogFragment?.dismissAllowingStateLoss()
|
||||
dialogFragment = null
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user