summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Stibane <marc@taler.net>2024-02-09 11:49:26 +0100
committerMarc Stibane <marc@taler.net>2024-02-09 11:49:26 +0100
commit400ad71911c4bcb236d0a2c37ca11dfa6ba71efd (patch)
treeb5869b4acec73da355a4ac09c3dab6aefafa09c6
parent19d17ba425ae9eca5ef2ad55f7806dad52a59607 (diff)
downloadtaler-ios-400ad71911c4bcb236d0a2c37ca11dfa6ba71efd.tar.gz
taler-ios-400ad71911c4bcb236d0a2c37ca11dfa6ba71efd.tar.bz2
taler-ios-400ad71911c4bcb236d0a2c37ca11dfa6ba71efd.zip
cleanup
-rw-r--r--TalerWallet1/Views/Sheets/P2P_Sheets/P2pReceiveURIView.swift2
-rw-r--r--TalerWallet1/Views/Sheets/WithdrawExchangeV.swift1
-rw-r--r--TalerWallet1/Views/Transactions/TransactionsEmptyView.swift4
3 files changed, 4 insertions, 3 deletions
diff --git a/TalerWallet1/Views/Sheets/P2P_Sheets/P2pReceiveURIView.swift b/TalerWallet1/Views/Sheets/P2P_Sheets/P2pReceiveURIView.swift
index 07968fb..dfb4295 100644
--- a/TalerWallet1/Views/Sheets/P2P_Sheets/P2pReceiveURIView.swift
+++ b/TalerWallet1/Views/Sheets/P2P_Sheets/P2pReceiveURIView.swift
@@ -84,7 +84,7 @@ struct P2pReceiveURIView: View {
symLog.log("onAppear")
DebugViewC.shared.setSheetID(SHEET_RCV_P2P)
}
- .task { // must be here ond not at LoadingView(), because this needs to run a 2nd time after ToS
+ .task { // must be here and not at LoadingView(), because this needs to run a 2nd time after ToS was accepted
do { // TODO: cancelled
symLog.log(".task")
let ppResponse = try await model.preparePeerPushCreditM(url.absoluteString)
diff --git a/TalerWallet1/Views/Sheets/WithdrawExchangeV.swift b/TalerWallet1/Views/Sheets/WithdrawExchangeV.swift
index dc32e73..8859513 100644
--- a/TalerWallet1/Views/Sheets/WithdrawExchangeV.swift
+++ b/TalerWallet1/Views/Sheets/WithdrawExchangeV.swift
@@ -28,6 +28,7 @@ struct WithdrawExchangeV: View {
exchangeBaseUrl: exchangeBaseUrl,
amountToTransfer: $amountToTransfer)
} else {
+ // TODO: Error
LoadingView(url: url, message: "No exchangeBaseUrl!")
}
}
diff --git a/TalerWallet1/Views/Transactions/TransactionsEmptyView.swift b/TalerWallet1/Views/Transactions/TransactionsEmptyView.swift
index 1e44551..94e66cb 100644
--- a/TalerWallet1/Views/Transactions/TransactionsEmptyView.swift
+++ b/TalerWallet1/Views/Transactions/TransactionsEmptyView.swift
@@ -11,10 +11,10 @@ import SymLog
struct TransactionsEmptyView: View {
private let symLog = SymLogV(0)
let stack: CallStack
- @AppStorage("myListStyle") var myListStyle: MyListStyle = .automatic
-
let currency: String
+ @AppStorage("myListStyle") var myListStyle: MyListStyle = .automatic
+
var body: some View {
List {
Section {