mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 17:57:40 +00:00
desktop routing fix
This commit is contained in:
parent
5ed5e6e8ef
commit
5fcf642a8b
1 changed files with 4 additions and 3 deletions
|
@ -18,7 +18,6 @@ import 'package:stackwallet/providers/global/secure_store_provider.dart';
|
|||
import 'package:stackwallet/utilities/assets.dart';
|
||||
import 'package:stackwallet/utilities/constants.dart';
|
||||
import 'package:stackwallet/utilities/enums/backup_frequency_type.dart';
|
||||
import 'package:stackwallet/utilities/enums/flush_bar_type.dart';
|
||||
import 'package:stackwallet/utilities/flutter_secure_storage_interface.dart';
|
||||
import 'package:stackwallet/utilities/format.dart';
|
||||
import 'package:stackwallet/utilities/logger.dart';
|
||||
|
@ -218,9 +217,11 @@ class _EditAutoBackupViewState extends ConsumerState<EditAutoBackupView> {
|
|||
passwordController.text = "";
|
||||
passwordRepeatController.text = "";
|
||||
|
||||
if (!Util.isDesktop) {
|
||||
Navigator.of(context)
|
||||
.popUntil(ModalRoute.withName(AutoBackupView.routeName));
|
||||
}
|
||||
}
|
||||
} else {
|
||||
await showDialog<dynamic>(
|
||||
context: context,
|
||||
|
|
Loading…
Reference in a new issue