commit cccdd4e597cbc656926b1fa4217467baa4e35df6 parent 38a126d2f8a9c99f77de315828ed50552ea6b3cd Author: Marc Stibane <marc@taler.net> Date: Wed, 5 Jun 2024 11:55:06 +0200 Scan QR Diffstat:
| M | TalerWallet1/Views/HelperViews/Buttons.swift | | | 6 | ++++++ |
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/TalerWallet1/Views/HelperViews/Buttons.swift b/TalerWallet1/Views/HelperViews/Buttons.swift @@ -31,8 +31,14 @@ struct HamburgerButton : View { struct QRButton : View { let action: () -> Void + @AppStorage("minimalistic") var minimalistic: Bool = false + var body: some View { Button(action: action) { + if !minimalistic { + Text("Scan QR") + .talerFont(.title) + } Image(systemName: "qrcode.viewfinder") } .talerFont(.title)