Skip to content

Commit ada2f0a

Browse files
committed
fix: infrequent but persistent issue with ui state
1 parent c1977a0 commit ada2f0a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

BDKSwiftExampleWallet/View Model/WalletViewModel.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ class WalletViewModel {
250250
}
251251

252252
func syncOrFullScan() async {
253+
self.walletSyncState = .syncing
253254
if bdkClient.needsFullScan() {
254255
await fullScanWithProgress()
255256
bdkClient.setNeedsFullScan(false)

0 commit comments

Comments
 (0)