From 9ea57146f77d55e48cbdb5af476d20a0835fefbb Mon Sep 17 00:00:00 2001 From: M Date: Thu, 14 Jul 2022 12:56:37 +0100 Subject: [PATCH] Remove backups from menu --- lib/src/screens/dashboard/wallet_menu.dart | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/lib/src/screens/dashboard/wallet_menu.dart b/lib/src/screens/dashboard/wallet_menu.dart index 704ddb2a6..b7d12a190 100644 --- a/lib/src/screens/dashboard/wallet_menu.dart +++ b/lib/src/screens/dashboard/wallet_menu.dart @@ -52,24 +52,6 @@ class WalletMenu { image: Image.asset('assets/images/open_book_menu.png', height: 16, width: 16), handler: () => Navigator.of(context).pushNamed(Routes.addressBook)), - WalletMenuItem( - title: S.current.backup, - image: Image.asset('assets/images/restore_wallet.png', - height: 16, - width: 16, - color: Palette.darkBlue), - handler: () { - Navigator - .of(context) - .pushNamed( - Routes.auth, - arguments: (bool isAuthenticatedSuccessfully, AuthPageState auth) { - if (isAuthenticatedSuccessfully) { - auth.close(); - Navigator.of(auth.context).pushNamed(Routes.backup); - } - }); - }), WalletMenuItem( title: S.current.settings_title, image: Image.asset('assets/images/settings_menu.png',