taler-ios

iOS apps for GNU Taler (wallet)
Log | Files | Refs | README | LICENSE

commit e1830ecd65eac29175fd8d00121cdc2853873628
parent 8b33c0e8b6d80e4db35358ca1428fb6f5c2d4bdb
Author: Marc Stibane <marc@taler.net>
Date:   Wed, 16 Sep 2026 14:48:43 +0200

guard 0

Diffstat:
MTalerWallet1/Views/Actions/ActionsSheet.swift | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/TalerWallet1/Views/Actions/ActionsSheet.swift b/TalerWallet1/Views/Actions/ActionsSheet.swift @@ -321,6 +321,7 @@ struct DualHeightSheet: View { } .presentationDetents(supportedDetents, selection: $selectedDetent) .onChange(of: selectedDetent) { newValue in + guard newValue != .height(0) else { return } let detent = minimalistic ? halfDetent : fullDetent if newValue == detent { // user swiped the sheet up to activate QR scanner logger.trace("onChange❗️selectedDetent == (detent) ==> updateDetentsWithDelay()")