Fix for bug 11966 -- the duplicated "Withdrawal" navigation title. WithdrawUriScan applied `.navigationTitle(navTitle)` to the whole of its loaded state, and WithdrawAcceptView applies the same string to its own body. That is harmless while the second view is *pushed*, which is what happens when the withdrawal amount is editable. It is not harmless in the other branch: when the bank fixes the amount, `amountIsEditable` is false and WithdrawUriScan renders `acceptDestination` inline (WithdrawUriScan.swift:202-203), so both modifiers are live in one navigation context and the bar ends up with two "Withdrawal" elements. This moves the title into the branch that needs it. WithdrawAcceptView keeps its own, because it still needs one when it is pushed. Please read this together with the note I added correcting the report: only one of the two titles is actually drawn, so this is an accessibility defect -- VoiceOver sees a duplicate element -- and not the visible overlap the summary claims. Generated against taler-ios master, 2026-11-08. Apply with `git apply`. --- a/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawUriScan.swift +++ b/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawUriScan.swift @@ -198,13 +198,21 @@ computeFee: computeFeeWithdraw) .background(actions) } // ScrollView // .ignoresSafeArea(.keyboard, edges: .bottom) + // The title belongs to this branch only. In the + // `else` branch below, WithdrawAcceptView is rendered + // *inline* rather than pushed, and it sets this same + // String(localized: "Withdrawal") itself + // (WithdrawAcceptView.swift:15, :118) -- so applying + // it here as well put two "Withdrawal" accessibility + // elements in one navigation bar. Only one of them is + // ever drawn, but VoiceOver sees both. + .navigationTitle(navTitle) } else { acceptDestination } // directly show the accept view } - .navigationTitle(navTitle) .task(id: controller.currencyTicker) { currencyInfo = controller.info(for: exchange2.scopeInfo, controller.currencyTicker) } .onAppear() {