mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 12:29:51 +00:00
feat: progress bar is not broken when started from 0 or earlier than first scan block
This commit is contained in:
parent
ab963de769
commit
77c9ca1788
1 changed files with 2 additions and 0 deletions
|
@ -1588,6 +1588,8 @@ class ElectrumWorker {
|
|||
|
||||
final tweakHeight = response.block;
|
||||
|
||||
if (initialSyncHeight < tweakHeight) initialSyncHeight = tweakHeight;
|
||||
|
||||
// Continuous status UI update, send how many blocks left to scan
|
||||
final syncingStatus = scanData.isSingleScan
|
||||
? SyncingSyncStatus(1, 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue