commit 8137fc400c4c0281ae6a6194dffe26c43770031b parent 665b07dc9cd8f1a0829b02c4d394e04e6bba3924 Author: Marc Stibane <marc@taler.net> Date: Tue, 24 Mar 2026 22:04:49 +0100 ignoresSafeArea(.keyboard) Diffstat:
10 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/TalerWallet1/Views/Actions/Banking/DepositAmountView.swift b/TalerWallet1/Views/Actions/Banking/DepositAmountView.swift @@ -131,7 +131,7 @@ struct DepositAmountView: View { .buttonStyle(TalerButtonStyle(type: .prominent)) .padding(.horizontal) } - } else { Group { + } else { ScrollView { if let balance { let scopeInfo = balance.scopeInfo let availableStr = amountAvailable.formatted(scopeInfo, isNegative: false) @@ -179,6 +179,7 @@ struct DepositAmountView: View { Text("No balance. There seems to be a problem with the database...") } } + .ignoresSafeArea(.keyboard, edges: .bottom) .onAppear { DebugViewC.shared.setViewID(VIEW_DEPOSIT, stack: stack.push()) symLog.log("❗️ onAppear") diff --git a/TalerWallet1/Views/Actions/Banking/ManualWithdraw.swift b/TalerWallet1/Views/Actions/Banking/ManualWithdraw.swift @@ -277,6 +277,7 @@ struct ManualWithdrawContent: View { } } // Group .padding(.horizontal) + .ignoresSafeArea(.keyboard, edges: .bottom) .task(id: amountToTransfer.currencyStr) { await getWithdrawalDetailsForAmount(amountToTransfer, true) } diff --git a/TalerWallet1/Views/Actions/Peer2peer/P2PSubjectV.swift b/TalerWallet1/Views/Actions/Peer2peer/P2PSubjectV.swift @@ -168,6 +168,7 @@ struct P2PSubjectV: View { : EMPTYSTRING) }.padding(.horizontal) } // ScrollVStack // .scrollBounceBehavior(.basedOnSize) needs iOS 16.4 + .ignoresSafeArea(.keyboard, edges: .bottom) .navigationTitle(subjectTitle(amountToTransfer)) .background(WalletColors().backgroundColor.edgesIgnoringSafeArea(.all)) .task(id: amountToTransfer.value) { await checkPeerPushDebit() } diff --git a/TalerWallet1/Views/Actions/Peer2peer/RequestPayment.swift b/TalerWallet1/Views/Actions/Peer2peer/RequestPayment.swift @@ -130,6 +130,7 @@ struct RequestPayment: View { } } // ScrollView .navigationTitle(navTitle) + .ignoresSafeArea(.keyboard, edges: .bottom) .frame(maxWidth: .infinity, alignment: .leading) .background(WalletColors().backgroundColor.edgesIgnoringSafeArea(.all)) .task { await viewDidLoad() } diff --git a/TalerWallet1/Views/Actions/Peer2peer/SendAmountV.swift b/TalerWallet1/Views/Actions/Peer2peer/SendAmountV.swift @@ -140,6 +140,7 @@ struct SendAmountV: View { } } // ScrollView .navigationTitle(navTitle) + .ignoresSafeArea(.keyboard, edges: .bottom) .frame(maxWidth: .infinity, alignment: .leading) .background(WalletColors().backgroundColor.edgesIgnoringSafeArea(.all)) .task { await viewDidLoad() } diff --git a/TalerWallet1/Views/HelperViews/SubjectInputV.swift b/TalerWallet1/Views/HelperViews/SubjectInputV.swift @@ -105,6 +105,7 @@ struct SubjectInputV<TargetView: View>: View { // .accessibility(sortPriority: 0) }.padding(.horizontal) } // ScrollVStack .navigationTitle(navTitle) + .ignoresSafeArea(.keyboard, edges: .bottom) .frame(maxWidth: .infinity, alignment: .leading) .background(WalletColors().backgroundColor.edgesIgnoringSafeArea(.all)) .onAppear() { diff --git a/TalerWallet1/Views/Settings/Bank/BankEditView.swift b/TalerWallet1/Views/Settings/Bank/BankEditView.swift @@ -221,6 +221,7 @@ struct BankEditView: View { }.listRowSeparator(.hidden) } // List .navigationBarItems(trailing: doneButton) + .ignoresSafeArea(.keyboard, edges: .bottom) .onChange(of: focus) { [focus] newState in switch focus { case .none: diff --git a/TalerWallet1/Views/Settings/Exchange/ExchangeListView.swift b/TalerWallet1/Views/Settings/Exchange/ExchangeListView.swift @@ -156,6 +156,7 @@ struct ExchangeListCommonV: View { } } .listStyle(myListStyle.style).anyView + .ignoresSafeArea(.keyboard, edges: .bottom) .refreshable { controller.hapticNotification(.success) symLog?.log("refreshing") diff --git a/TalerWallet1/Views/Sheets/Payment/PayTemplateV.swift b/TalerWallet1/Views/Sheets/Payment/PayTemplateV.swift @@ -219,6 +219,7 @@ struct PayTemplateV: View { summaryIsEditable: summaryIsEditable) } } .navigationTitle(navTitle) + .ignoresSafeArea(.keyboard, edges: .bottom) .frame(maxWidth: .infinity, alignment: .leading) .background(WalletColors().backgroundColor.edgesIgnoringSafeArea(.all)) .onAppear() { diff --git a/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawURIView.swift b/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawURIView.swift @@ -193,6 +193,7 @@ struct WithdrawURIView: View { computeFee: computeFeeWithdraw) .background(actions) } // ScrollView + .ignoresSafeArea(.keyboard, edges: .bottom) } else { acceptDestination } // directly show the accept view