mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-20 17:54:41 +00:00
test fix
This commit is contained in:
parent
f4f2678f1e
commit
26ed988240
1 changed files with 5 additions and 1 deletions
|
@ -279,7 +279,11 @@ Future<void> onStart(ServiceInstance service) async {
|
||||||
if (syncedTicks > 5) {
|
if (syncedTicks > 5) {
|
||||||
syncedTicks = 0;
|
syncedTicks = 0;
|
||||||
printV("WALLET $i SYNCED");
|
printV("WALLET $i SYNCED");
|
||||||
|
try {
|
||||||
wallet.stopSync();
|
wallet.stopSync();
|
||||||
|
} catch (e) {
|
||||||
|
printV("error stopping sync: $e");
|
||||||
|
}
|
||||||
// pop the first wallet from the list
|
// pop the first wallet from the list
|
||||||
standbyWallets.add(syncingWallets.removeAt(i));
|
standbyWallets.add(syncingWallets.removeAt(i));
|
||||||
flutterLocalNotificationsPlugin.cancelAll();
|
flutterLocalNotificationsPlugin.cancelAll();
|
||||||
|
|
Loading…
Reference in a new issue