commit b6075bf84378a08575096453e153a6a935b5b49c parent 62e7723bf8b34a4a0979c87364f832be48eae303 Author: Marc Stibane <marc@taler.net> Date: Mon, 3 Aug 2026 16:12:30 +0200 don't hide SwiftUI's native PasteButton Diffstat:
| M | TalerWallet1/Views/Actions/ActionsSheet.swift | | | 2 | +- |
| M | TalerWallet1/Views/HelperViews/Buttons.swift | | | 2 | +- |
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/TalerWallet1/Views/Actions/ActionsSheet.swift b/TalerWallet1/Views/Actions/ActionsSheet.swift @@ -145,7 +145,7 @@ struct ActionsSheet: View { if #available(iOS 26.0, *) { if !pasteAutomatically { let isEnabled = UIPasteboard.general.hasURLs - PasteButton(accessibilityLabelStr: "Paste") { + TalerPasteButton(accessibilityLabelStr: "Paste") { Task { TalerWallet1App().inspectPasteboard(playSound: true) } diff --git a/TalerWallet1/Views/HelperViews/Buttons.swift b/TalerWallet1/Views/HelperViews/Buttons.swift @@ -208,7 +208,7 @@ struct SettingsButton : View { return button } } -struct PasteButton : View { +struct TalerPasteButton : View { let accessibilityLabelStr: String let action: () -> Void