mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-11 05:04:35 +00:00
load swb restored wallets on desktop after swb restore
This commit is contained in:
parent
7436709fa7
commit
bce25dbfd3
1 changed files with 5 additions and 0 deletions
|
@ -34,6 +34,7 @@ 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';
|
||||||
import 'package:stackwallet/utilities/prefs.dart';
|
import 'package:stackwallet/utilities/prefs.dart';
|
||||||
|
import 'package:stackwallet/utilities/util.dart';
|
||||||
import 'package:tuple/tuple.dart';
|
import 'package:tuple/tuple.dart';
|
||||||
import 'package:uuid/uuid.dart';
|
import 'package:uuid/uuid.dart';
|
||||||
import 'package:wakelock/wakelock.dart';
|
import 'package:wakelock/wakelock.dart';
|
||||||
|
@ -764,6 +765,10 @@ abstract class SWB {
|
||||||
}
|
}
|
||||||
|
|
||||||
Logging.instance.log("done with SWB restore", level: LogLevel.Warning);
|
Logging.instance.log("done with SWB restore", level: LogLevel.Warning);
|
||||||
|
if (Util.isDesktop) {
|
||||||
|
await Wallets.sharedInstance
|
||||||
|
.loadAfterStackRestore(_prefs, managers.map((e) => e.item2).toList());
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue