Skip to content

Commit 1e922ab

Browse files
committed
rename
1 parent 95e2b64 commit 1e922ab

28 files changed

+164
-107
lines changed

BDKSwiftExampleWallet.xcodeproj/project.pbxproj

Lines changed: 113 additions & 49 deletions
Large diffs are not rendered by default.

BDKSwiftExampleWallet/Resources/Localizable.xcstrings

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,6 @@
163163
}
164164
},
165165
"Activity" : {
166-
"extractionState" : "stale",
167166
"localizations" : {
168167
"fr" : {
169168
"stringUnit" : {
@@ -480,9 +479,6 @@
480479
}
481480
}
482481
}
483-
},
484-
"Recent" : {
485-
486482
},
487483
"Regtest" : {
488484
"localizations" : {

BDKSwiftExampleWallet/Service/BDK Service/BDKService.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ private class BDKService {
6161
guard let wallet = self.wallet else {
6262
throw WalletError.walletNotFound
6363
}
64-
let values = wallet.listUnspent()
65-
return values
64+
let localOutputs = wallet.listUnspent()
65+
return localOutputs
6666
}
6767

6868
func createWallet(words: String?) throws {

BDKSwiftExampleWallet/View Model/AllTransactionsViewModel.swift renamed to BDKSwiftExampleWallet/View Model/Activity/ActivityListViewModel.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// AllTransactionsViewModel.swift
2+
// ActivityListViewModel.swift
33
// BDKSwiftExampleWallet
44
//
55
// Created by Matthew Ramsden on 8/4/24.
@@ -10,7 +10,7 @@ import Foundation
1010

1111
@MainActor
1212
@Observable
13-
class AllTransactionsViewModel {
13+
class ActivityListViewModel {
1414
let bdkClient: BDKClient
1515
var walletSyncState: WalletSyncState
1616
var transactions: [CanonicalTx]

BDKSwiftExampleWallet/View Model/TransactionDetailsViewModel.swift renamed to BDKSwiftExampleWallet/View Model/Activity/TransactionDetailViewModel.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// TransactionDetailsViewModel.swift
2+
// TransactionDetailViewModel.swift
33
// BDKSwiftExampleWallet
44
//
55
// Created by Matthew Ramsden on 2/15/24.
@@ -11,7 +11,7 @@ import Observation
1111

1212
@MainActor
1313
@Observable
14-
class TransactionDetailsViewModel {
14+
class TransactionDetailViewModel {
1515
let bdkClient: BDKClient
1616
let keyClient: KeyClient
1717

BDKSwiftExampleWallet/View Model/WalletTransactionsListViewModel.swift renamed to BDKSwiftExampleWallet/View Model/Activity/TransactionListViewModel.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// WalletTransactionsListViewModel.swift
2+
// TransactionListViewModel.swift
33
// BDKSwiftExampleWallet
44
//
55
// Created by Matthew Ramsden on 4/3/24.
@@ -10,7 +10,7 @@ import Foundation
1010

1111
@MainActor
1212
@Observable
13-
class WalletTransactionsListViewModel {
13+
class TransactionListViewModel {
1414
let bdkClient: BDKClient
1515
var walletTransactionsViewError: AppError?
1616
var showingWalletTransactionsViewErrorAlert = false

0 commit comments

Comments
 (0)