mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 12:09:43 +00:00
remove outdated warning
This commit is contained in:
parent
bb5757f7d3
commit
60f2c3c450
1 changed files with 0 additions and 24 deletions
|
@ -120,30 +120,6 @@ class AddressPage extends BasePage {
|
||||||
Widget body(BuildContext context) {
|
Widget body(BuildContext context) {
|
||||||
_setEffects(context);
|
_setEffects(context);
|
||||||
|
|
||||||
autorun((_) async {
|
|
||||||
if (!dashboardViewModel.settingsStore.shouldShowReceiveWarning) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
await Future<void>.delayed(Duration(seconds: 1));
|
|
||||||
if (context.mounted) {
|
|
||||||
await showPopUp<void>(
|
|
||||||
context: context,
|
|
||||||
builder: (BuildContext context) {
|
|
||||||
return AlertWithTwoActions(
|
|
||||||
alertTitle: S.of(context).pre_seed_title,
|
|
||||||
alertContent: S.of(context).outdated_electrum_wallet_receive_warning,
|
|
||||||
leftButtonText: S.of(context).understand,
|
|
||||||
actionLeftButton: () => Navigator.of(context).pop(),
|
|
||||||
rightButtonText: S.of(context).do_not_show_me,
|
|
||||||
actionRightButton: () {
|
|
||||||
dashboardViewModel.settingsStore.setShouldShowReceiveWarning(false);
|
|
||||||
Navigator.of(context).pop();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
return KeyboardActions(
|
return KeyboardActions(
|
||||||
autoScroll: false,
|
autoScroll: false,
|
||||||
disableScroll: true,
|
disableScroll: true,
|
||||||
|
|
Loading…
Reference in a new issue