mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-30 14:15:52 +00:00
add delay for ui to update properly
This commit is contained in:
parent
0f3a0b18a4
commit
e9a5cc85ae
1 changed files with 4 additions and 1 deletions
|
@ -655,9 +655,12 @@ class _RestoreFromFileViewState extends State<CreateBackupView> {
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
await Future<void>.delayed(
|
||||||
|
const Duration(seconds: 1));
|
||||||
|
|
||||||
// make sure the dialog is able to be displayed for at least 1 second
|
// make sure the dialog is able to be displayed for at least 1 second
|
||||||
final fut = Future<void>.delayed(
|
final fut = Future<void>.delayed(
|
||||||
const Duration(seconds: 2));
|
const Duration(seconds: 1));
|
||||||
|
|
||||||
final DateTime now = DateTime.now();
|
final DateTime now = DateTime.now();
|
||||||
final String fileToSave =
|
final String fileToSave =
|
||||||
|
|
Loading…
Reference in a new issue