Prevent crash from showing bottom sheet.
This commit is contained in:
parent
c134c3033e
commit
6e742ce770
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ class ContactSupportBottomSheetFragment : ComposeBottomSheetDialogFragment() {
|
|||
}
|
||||
|
||||
fun showSafely(fm: FragmentManager, tag: String) {
|
||||
if (!isAdded) {
|
||||
if (!isAdded && !fm.isStateSaved) {
|
||||
show(fm, tag)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue