commit cf551ebe65438df07b75e3dc8a39eb6236d248c9
parent 28cbe350dfc0dfd6f5eaabebf35db223c657a61c
Author: Marc Stibane <marc@taler.net>
Date: Fri, 27 Nov 2026 08:49:13 +0100
overlay blocks button below
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/TalerWallet1/Views/Sheets/Payment/ChoicesView.swift b/TalerWallet1/Views/Sheets/Payment/ChoicesView.swift
@@ -152,15 +152,13 @@ struct ChoicesView: View, Sendable {
OutputTokenView(outputs: outputs, tokenFamilies: tokenFamilies)
}
}
- }.overlay {
- Color.primary.opacity(INVISIBLE) // Color.clear doesn't accept taps!
+ }
.contentShape(.rect)
.onTapGesture {
if isPaymentPossible {
selectedChoice = index
}
}
- }
.listRowBackground(
SelectedBackground(useColor: index == selectedChoice ? isPaymentPossible : nil)
)