mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 20:09:23 +00:00
increase xmr/wow autosave timer period
This commit is contained in:
parent
0062294488
commit
66e9f87c0f
2 changed files with 2 additions and 2 deletions
|
@ -781,7 +781,7 @@ class MoneroWallet extends CoinServiceAPI {
|
||||||
await refresh();
|
await refresh();
|
||||||
_autoSaveTimer?.cancel();
|
_autoSaveTimer?.cancel();
|
||||||
_autoSaveTimer = Timer.periodic(
|
_autoSaveTimer = Timer.periodic(
|
||||||
const Duration(seconds: 93),
|
const Duration(seconds: 193),
|
||||||
(_) async => await walletBase?.save(),
|
(_) async => await walletBase?.save(),
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -812,7 +812,7 @@ class WowneroWallet extends CoinServiceAPI {
|
||||||
await refresh();
|
await refresh();
|
||||||
_autoSaveTimer?.cancel();
|
_autoSaveTimer?.cancel();
|
||||||
_autoSaveTimer = Timer.periodic(
|
_autoSaveTimer = Timer.periodic(
|
||||||
const Duration(seconds: 93),
|
const Duration(seconds: 193),
|
||||||
(_) async => await walletBase?.save(),
|
(_) async => await walletBase?.save(),
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue