Skip to content

Commit b98020b

Browse files
r1b2nsreez
andauthored
Update BDKSwiftExampleWallet/View/Home/ActivityHomeHeaderView.swift
Co-authored-by: Matthew Ramsden <[email protected]>
1 parent 73a7a0c commit b98020b

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

BDKSwiftExampleWallet/View/Home/ActivityHomeHeaderView.swift

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,11 @@ import SwiftUI
99

1010
struct ActivityHomeHeaderView: View {
1111

12-
enum State {
13-
case synced
14-
case fullSyncing(inspectedScripts: UInt64)
15-
case syncing(progress: Float, inspectedScripts: UInt64, totalScripts: UInt64)
16-
case notStarted
17-
case error(Error)
18-
}
19-
20-
let state: State
12+
let walletSyncState: WalletSyncState
13+
let progress: Float
14+
let inspectedScripts: UInt64
15+
let totalScripts: UInt64
16+
let needsFullScan: Bool
2117

2218
let showAllTransactions: () -> Void
2319

0 commit comments

Comments
 (0)