commit 400ad71911c4bcb236d0a2c37ca11dfa6ba71efd
parent 19d17ba425ae9eca5ef2ad55f7806dad52a59607
Author: Marc Stibane <marc@taler.net>
Date: Fri, 9 Feb 2024 11:49:26 +0100
cleanup
Diffstat:
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
@@ -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
@@ -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
@@ -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 {