commit 3f4e5bfe7d43b4f00c9bba91bd87bba443fa6102
parent c331d61c9ed53915cedba27d1e331ab8761607f6
Author: Marc Stibane <marc@taler.net>
Date: Fri, 9 May 2025 21:39:45 +0000
cleanup
Diffstat:
3 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/TalerWallet1/Views/Actions/Banking/DepositSelectV.swift b/TalerWallet1/Views/Actions/Banking/DepositSelectV.swift
@@ -99,10 +99,10 @@ struct DepositSelectV: View {
// .background(WalletColors().backgroundColor.edgesIgnoringSafeArea(.all))
.onAppear {
DebugViewC.shared.setViewID(VIEW_DEPOSIT_ACCEPT, stack: stack.push())
-// print("❗️ P2PSubjectV onAppear")
+// print("❗️ DepositSelectV onAppear")
}
.onDisappear {
-// print("❗️ P2PSubjectV onDisappear")
+// print("❗️ DepositSelectV onDisappear")
}
// .task(id: depositIBAN) { await validateIban() }
}
diff --git a/TalerWallet1/Views/Actions/Banking/ManualWithdraw.swift b/TalerWallet1/Views/Actions/Banking/ManualWithdraw.swift
@@ -142,13 +142,13 @@ struct ManualWithdrawContent: View {
// @State var selectedAge = 0
@State private var tosAccepted = false
- private func exchangeVia(_ baseURL: String?) -> String? {
- if let baseURL {
- return String(localized: "via \(baseURL.trimURL)", comment: "currency/exchange chooser")
- }
- return nil
- }
-
+// private func exchangeVia(_ baseURL: String?) -> String? {
+// if let baseURL {
+// return String(localized: "via \(baseURL.trimURL)", comment: "currency/exchange chooser")
+// }
+// return nil
+// }
+//
@MainActor
private func reloadExchange(_ baseURL: String) async {
symLog.log("getExchangeByUrl(\(baseURL))")
diff --git a/TalerWallet1/Views/OIM/OIMlayout.swift b/TalerWallet1/Views/OIM/OIMlayout.swift
@@ -89,7 +89,7 @@ struct OIMlayoutView: View {
}
}
- func flipRemove(fundID: Int) {
+ func flyBack(fundID: Int) {
if let index = funds.firstIndex(where: { $0.id == fundID }) {
var fund = funds[index]
symLog.log("*** fly back:\(fund.value) \(fundID)")
@@ -127,7 +127,7 @@ struct OIMlayoutView: View {
symLog.log(" ❗️Yikes - trying to subtract \(fund.value) from amount \(amountVal)")
amountVal = 0
}
- flipRemove(fundID: fundID)
+ flyBack(fundID: fundID)
}
.zIndex(Double(fundID))
.id(fundID)