Only show one safety number education dialog at a time.

This commit is contained in:
Clark Chen
2023-07-19 14:10:42 -04:00
committed by Nicholas
parent 076295eae8
commit 7e08a1f321

View File

@@ -65,7 +65,9 @@ class PnpSafetyNumberEducationDialogFragment : FixedRoundedCornerBottomSheetDial
}
val fragment = PnpSafetyNumberEducationDialogFragment()
fragment.show(fragmentManager, BottomSheetUtil.STANDARD_BOTTOM_SHEET_FRAGMENT_TAG)
if (fragmentManager.findFragmentByTag(BottomSheetUtil.STANDARD_BOTTOM_SHEET_FRAGMENT_TAG) == null) {
fragment.show(fragmentManager, BottomSheetUtil.STANDARD_BOTTOM_SHEET_FRAGMENT_TAG)
}
}
}
}