mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-22 02:34:59 +00:00
Fixes
This commit is contained in:
parent
c86c44a936
commit
d7c33b0ab5
1 changed files with 4 additions and 4 deletions
|
@ -240,13 +240,13 @@ class SyncListener {
|
|||
_initialSyncHeight = 0;
|
||||
_updateSyncInfoTimer ??=
|
||||
Timer.periodic(Duration(milliseconds: 1200), (_) async {
|
||||
if (isNewTransactionExist() ?? isNeededToRefresh() ?? false) {
|
||||
onNewTransaction?.call();
|
||||
}
|
||||
|
||||
final _isNeededToRefresh = isNeededToRefresh();
|
||||
print('isNeededToRefresh $_isNeededToRefresh');
|
||||
|
||||
if (isNewTransactionExist() || _isNeededToRefresh) {
|
||||
onNewTransaction?.call();
|
||||
}
|
||||
|
||||
var syncHeight = getSyncingHeight();
|
||||
|
||||
print('syncHeight $syncHeight');
|
||||
|
|
Loading…
Reference in a new issue