@@ -29,13 +29,9 @@ class BackupSettingsScreen extends StatelessWidget {
IconButtonWidget(
icon: Icons.close_outlined,
isSecondary: true,
- onTap: () async {
- int i = 0;
- //pop twice
- Navigator.popUntil(context, (route) {
- i++;
- return i == 3;
- });
+ onTap: () {
+ Navigator.pop(context);
},
),
],