taler-ios

iOS apps for GNU Taler (wallet)
Log | Files | Refs | README | LICENSE

commit 08d80993e72c484d9d163bdd5e854e05dffae72c
parent 99033ef40f3e9b56e1e41a4f019d8959972e50fa
Author: Marc Stibane <marc@taler.net>
Date:   Sat, 27 Jul 2024 12:37:19 +0200

cleanup

Diffstat:
MTalerWallet1/Views/Banking/ManualWithdraw.swift | 7+++----
MTalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawAcceptView.swift | 3+--
2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/TalerWallet1/Views/Banking/ManualWithdraw.swift b/TalerWallet1/Views/Banking/ManualWithdraw.swift @@ -29,8 +29,6 @@ struct ManualWithdraw: View { // @State var ageMenuList: [Int] = [] // @State var selectedAge = 0 - fileprivate let sheetID = SHEET_WITHDRAW_EXCHANGE // 135 WithdrawExchangeV - fileprivate let viewID = VIEW_WITHDRAWAL // 30 WithdrawAmount var body: some View { #if PRINT_CHANGES let _ = Self._printChanges() @@ -108,9 +106,10 @@ struct ManualWithdraw: View { .navigationTitle(navTitle) .onAppear { if isSheet { - DebugViewC.shared.setSheetID(sheetID) + DebugViewC.shared.setSheetID(SHEET_WITHDRAW_ACCEPT) // 132 WithdrawAcceptView } else { - DebugViewC.shared.setViewID(viewID, stack: stack.push()) + DebugViewC.shared.setViewID(VIEW_WITHDRAWAL, // 30 WithdrawAmount + stack: stack.push()) } symLog.log("❗️ \(navTitle) onAppear") } diff --git a/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawAcceptView.swift b/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawAcceptView.swift @@ -34,7 +34,6 @@ struct WithdrawAcceptView: View { } } - fileprivate let sheetID = SHEET_WITHDRAW_ACCEPT // 132 WithdrawAcceptView var body: some View { if let exchange, let withdrawalAmountDetails { VStack { @@ -94,7 +93,7 @@ struct WithdrawAcceptView: View { } .onAppear() { symLog.log("onAppear") - DebugViewC.shared.setSheetID(sheetID) + DebugViewC.shared.setSheetID(SHEET_WITHDRAW_ACCEPT) // 132 WithdrawAcceptView } } else { // no details or no exchange #if DEBUG