Skip to content

Commit a028bbd

Browse files
committed
format
1 parent 881414d commit a028bbd

File tree

6 files changed

+14
-14
lines changed

6 files changed

+14
-14
lines changed

BDKSwiftExampleWallet/Extensions/BDK+Extensions/Outpoint+Extensions.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
// Created by Matthew Ramsden on 6/3/25.
66
//
77

8-
import Foundation
98
import BitcoinDevKit
9+
import Foundation
1010

1111
extension OutPoint: Hashable {
1212
public static func == (lhs: OutPoint, rhs: OutPoint) -> Bool {
1313
lhs.txid == rhs.txid && lhs.vout == rhs.vout
1414
}
15-
15+
1616
public func hash(into hasher: inout Hasher) {
1717
hasher.combine(txid)
1818
hasher.combine(vout)

BDKSwiftExampleWallet/Extensions/BDK+Extensions/TxDetails+Extensions.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
// Created by Matthew Ramsden on 6/11/25.
66
//
77

8-
import Foundation
98
import BitcoinDevKit
9+
import Foundation
1010

1111
extension TxDetails {
1212
static let mock = TxDetails(

BDKSwiftExampleWallet/Extensions/BDK+Extensions/TxId+Extensions.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
// Created by Matthew Ramsden on 6/11/25.
66
//
77

8-
import Foundation
98
import BitcoinDevKit
9+
import Foundation
1010

1111
extension Txid {
1212
static let mock = try? Txid.fromBytes(

BDKSwiftExampleWallet/Service/BDK Service/BDKService.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ private class BDKService {
412412
let values = wallet.sentAndReceived(tx: tx)
413413
return values
414414
}
415-
415+
416416
func txDetails(txid: Txid) throws -> TxDetails? {
417417
guard let wallet = self.wallet else {
418418
throw WalletError.walletNotFound

BDKSwiftExampleWallet/View/Home/ActivityHomeHeaderView.swift

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@
88
import SwiftUI
99

1010
struct ActivityHomeHeaderView: View {
11-
11+
1212
let walletSyncState: WalletSyncState
1313
let progress: Float
1414
let inspectedScripts: UInt64
1515
let totalScripts: UInt64
1616
let needsFullScan: Bool
17-
17+
1818
let showAllTransactions: () -> Void
19-
19+
2020
var body: some View {
2121
HStack {
2222
Text("Activity")
2323
Spacer()
24-
24+
2525
HStack {
2626
if needsFullScan {
2727
Text("\(inspectedScripts)")
@@ -78,7 +78,7 @@ struct ActivityHomeHeaderView: View {
7878
}
7979
.foregroundStyle(.secondary)
8080
.font(.caption)
81-
81+
8282
if walletSyncState == .synced {
8383
Button {
8484
self.showAllTransactions()
@@ -95,7 +95,7 @@ struct ActivityHomeHeaderView: View {
9595
}
9696
.fontWeight(.bold)
9797
}
98-
98+
9999
@ViewBuilder
100100
private func syncImageIndicator() -> some View {
101101
switch walletSyncState {
@@ -104,15 +104,15 @@ struct ActivityHomeHeaderView: View {
104104
Image(systemName: "checkmark.circle.fill")
105105
.foregroundStyle(.green)
106106
)
107-
107+
108108
case .syncing:
109109
AnyView(
110110
Image(systemName: "slowmo")
111111
.symbolEffect(
112112
.variableColor.cumulative
113113
)
114114
)
115-
115+
116116
case .notStarted:
117117
AnyView(
118118
Image(systemName: "arrow.clockwise")

BDKSwiftExampleWallet/View/WalletView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ struct WalletView: View {
5151
) {
5252
showAllTransactions = true
5353
}
54-
54+
5555
TransactionListView(
5656
viewModel: .init(),
5757
transactions: viewModel.recentTransactions,

0 commit comments

Comments
 (0)