Restructure to make more sense
This commit is contained in:
parent
6172338a00
commit
72d6c2ce34
3 changed files with 34 additions and 6 deletions
|
@ -32,7 +32,7 @@ class PermissionsRequiredPage extends StatelessWidget {
|
|||
"The storage permission is reporting it is permanently denied. Please open settings and allow that permission.")));
|
||||
} else if (stat.isGranted) {
|
||||
Future.delayed(const Duration(seconds: 5), () {
|
||||
Navigator.pushReplacementNamed(context, "/edit");
|
||||
Navigator.pop(context);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue