commit c0a147fc5b2f9d2d0b0624ed47b6b53ae33127e8
parent feadc0a98ef37c22c9583fa939aec4f700d42935
Author: Marc Stibane <marc@taler.net>
Date: Thu, 2 Apr 2026 00:43:01 +0200
Singular
Diffstat:
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/TalerWallet1/Views/Transactions/QRcodesForPayto.swift b/TalerWallet1/Views/Transactions/QRcodesForPayto.swift
@@ -49,8 +49,13 @@ struct QRcodesForPayto: View {
let count = qrCodeSpecs.count
List {
if !minimalistic {
- Text("If your banking software runs on another device, you can scan one of these QR codes:")
- .listRowSeparator(.hidden)
+ if count > 1 {
+ Text("If your banking software runs on another device, you can scan one of these QR codes:")
+ .listRowSeparator(.hidden)
+ } else {
+ Text("If your banking software runs on another device, you can scan this QR code:")
+ .listRowSeparator(.hidden)
+ }
}
ForEach(qrCodeSpecs, id: \.self) { spec in
QRcodeCopyShare(spec: spec, textToShare: textToShare)