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/assets.dart';
|
||||||
import 'package:stackwallet/utilities/constants.dart';
|
import 'package:stackwallet/utilities/constants.dart';
|
||||||
import 'package:stackwallet/utilities/enums/backup_frequency_type.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/flutter_secure_storage_interface.dart';
|
||||||
import 'package:stackwallet/utilities/format.dart';
|
import 'package:stackwallet/utilities/format.dart';
|
||||||
import 'package:stackwallet/utilities/logger.dart';
|
import 'package:stackwallet/utilities/logger.dart';
|
||||||
|
@ -218,8 +217,10 @@ class _EditAutoBackupViewState extends ConsumerState<EditAutoBackupView> {
|
||||||
passwordController.text = "";
|
passwordController.text = "";
|
||||||
passwordRepeatController.text = "";
|
passwordRepeatController.text = "";
|
||||||
|
|
||||||
Navigator.of(context)
|
if (!Util.isDesktop) {
|
||||||
.popUntil(ModalRoute.withName(AutoBackupView.routeName));
|
Navigator.of(context)
|
||||||
|
.popUntil(ModalRoute.withName(AutoBackupView.routeName));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
await showDialog<dynamic>(
|
await showDialog<dynamic>(
|
||||||
|
|
Loading…
Reference in a new issue