Remove backups from menu
M committed
Jul 14, 2022 at 12:56 UTC
9ea57146f77d55e48cbdb5af476d20a0835fefbb
1 file changed
-18
lib/src/screens/dashboard/wallet_menu.dart
-18
@@ -52,24 +52,6 @@ class WalletMenu {
52
image: Image.asset('assets/images/open_book_menu.png',
53
height: 16, width: 16),
54
handler: () => Navigator.of(context).pushNamed(Routes.addressBook)),
55
- WalletMenuItem(
56
- title: S.current.backup,
57
- image: Image.asset('assets/images/restore_wallet.png',
58
- height: 16,
59
- width: 16,
60
- color: Palette.darkBlue),
61
- handler: () {
62
- Navigator
63
- .of(context)
64
- .pushNamed(
65
- Routes.auth,
66
- arguments: (bool isAuthenticatedSuccessfully, AuthPageState auth) {
67
- if (isAuthenticatedSuccessfully) {
68
- auth.close();
69
- Navigator.of(auth.context).pushNamed(Routes.backup);
70
- }
71
- });
72
- }),
55
WalletMenuItem(
56
title: S.current.settings_title,
57
image: Image.asset('assets/images/settings_menu.png',