commit 401dd49dd76778f3176b385d907f018f5fedbb45 parent 42bc0ac9a48c277cb913ab97e0940ac99e10c960 Author: Marc Stibane <marc@taler.net> Date: Sat, 31 Oct 2026 22:57:57 +0100 Execute TalDir transactions Diffstat:
| M | TalerWallet1/Views/TalDir/MailboxView.swift | | | 12 | ++++++++++++ |
1 file changed, 12 insertions(+), 0 deletions(-)
diff --git a/TalerWallet1/Views/TalDir/MailboxView.swift b/TalerWallet1/Views/TalDir/MailboxView.swift @@ -41,6 +41,18 @@ struct MailboxView: View { .talerFont(.body) .accessibilityLabel(a11yDate) } + .contentShape(.rect) + .frame(maxWidth: .infinity, alignment: .leading) + .onTapGesture { + if let url = URL(string: message.talerUri) { + dismissTop(stack.push()) + DispatchQueue.main.asyncAfter(deadline: .now() + 0.6) { + controller.talerURI = url // pass it via .onChange(of: controller.talerURI) directly to MainView + } + } else { + // TODO: show alert that the url is not recognized + } + } } var body: some View {