We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ada2f0a commit 9976389Copy full SHA for 9976389
BDKSwiftExampleWallet/View Model/Activity/ActivityListViewModel.swift
@@ -111,6 +111,7 @@ class ActivityListViewModel {
111
}
112
113
func syncOrFullScan() async {
114
+ self.walletSyncState = .syncing
115
await startSyncWithProgress()
116
117
BDKSwiftExampleWallet/View Model/Settings/SettingsViewModel.swift
@@ -62,9 +62,7 @@ class SettingsViewModel: ObservableObject {
62
63
64
func fullScanWithProgress() async {
65
- DispatchQueue.main.async {
66
- self.walletSyncState = .syncing
67
- }
68
do {
69
let inspector = WalletFullScanScriptInspector(updateProgress: updateProgressFullScan)
70
try await bdkClient.fullScanWithInspector(inspector)
0 commit comments