go to home screen on clicking 'close' from backup settings screen
This commit is contained in:
parent
e96f6d7ac6
commit
29ac7c784d
1 changed files with 7 additions and 2 deletions
|
@ -29,8 +29,13 @@ class BackupSettingsScreen extends StatelessWidget {
|
|||
IconButtonWidget(
|
||||
icon: Icons.close_outlined,
|
||||
isSecondary: true,
|
||||
onTap: () {
|
||||
Navigator.pop(context);
|
||||
onTap: () async {
|
||||
int i = 0;
|
||||
//pop twice
|
||||
Navigator.popUntil(context, (route) {
|
||||
i++;
|
||||
return i == 3;
|
||||
});
|
||||
},
|
||||
),
|
||||
],
|
||||
|
|
Loading…
Add table
Reference in a new issue