mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
minor fix [skip ci]
This commit is contained in:
@@ -682,6 +682,10 @@ class CakePayBuyCardPage extends BasePage {
|
||||
|
||||
final BuildContext sheetParentCtx = usePageContextLater ? context : _overlayCtx;
|
||||
|
||||
if (!sheetParentCtx.mounted) {
|
||||
return;
|
||||
}
|
||||
|
||||
await showModalBottomSheet<void>(
|
||||
context: sheetParentCtx,
|
||||
useRootNavigator: !usePageContextLater,
|
||||
|
||||
Reference in New Issue
Block a user