Skip to content

Commit 4cd9e93

Browse files
committed
fix: isNeedFullScan
1 parent ba0f348 commit 4cd9e93

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

BDKSwiftExampleWallet/View Model/WalletViewModel.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ import SwiftUI
1515
class WalletViewModel {
1616

1717
private let bdkSyncService: BDKSyncService
18-
private(set) var isNeedFullScan: Bool
18+
private(set) var isNeedFullScan: Bool {
19+
didSet {
20+
StorageUtil.shared.isNeedFullScan = isNeedFullScan
21+
}
22+
}
1923
let keyClient: KeyClient
2024
let priceClient: PriceClient
2125

0 commit comments

Comments
 (0)