mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
willPopScope fix
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user