mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 17:29:32 +01:00
Prevent crash from showing bottom sheet.
This commit is contained in:
@@ -160,7 +160,7 @@ class ContactSupportBottomSheetFragment : ComposeBottomSheetDialogFragment() {
|
||||
}
|
||||
|
||||
fun showSafely(fm: FragmentManager, tag: String) {
|
||||
if (!isAdded) {
|
||||
if (!isAdded && !fm.isStateSaved) {
|
||||
show(fm, tag)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user