mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 19:49:22 +00:00
willPopScope fix
This commit is contained in:
parent
d5b9af1c19
commit
747a760124
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ class WarningPage extends BasePage {
|
|||
final image = currentTheme.type == ThemeType.dark ? imageDark : imageLight;
|
||||
|
||||
return WillPopScope(
|
||||
onWillPop: () async => false,
|
||||
onWillPop: () async => !isPreSeedPage,
|
||||
child: Container(
|
||||
alignment: Alignment.center,
|
||||
padding: EdgeInsets.all(24),
|
||||
|
|
Loading…
Reference in a new issue