We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71507d4 commit 57620a2Copy full SHA for 57620a2
2 files changed
BDKSwiftExampleWallet/Service/BDK Service/BDKService.swift
@@ -65,11 +65,11 @@ class BDKService {
65
66
extension BDKService {
67
func needsFullScanOfWallet() -> Bool {
68
- return StorageUtil.shared.isNeedFullScan ?? true
+ return AppStorageUtil.shared.isNeedFullScan ?? true
69
}
70
71
func setNeedsFullScan(_ value: Bool) {
72
- StorageUtil.shared.isNeedFullScan = value
+ AppStorageUtil.shared.isNeedFullScan = value
73
74
75
BDKSwiftExampleWallet/Utilities/AppStorageUtil.swift
@@ -7,8 +7,8 @@
7
8
import SwiftUI
9
10
-struct StorageUtil {
+struct AppStorageUtil {
11
@AppStorage("isNeedFullScan") var isNeedFullScan: Bool?
12
13
- static var shared = StorageUtil()
+ static var shared = AppStorageUtil()
14
0 commit comments