taler-ios

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

commit de7469cb83b4097a483e6dde757b1cb5fef1e1bd
parent d5d69287cbdda1a97070fecbb7e4c71422907c95
Author: Marc Stibane <marc@taler.net>
Date:   Sun, 27 Sep 2026 16:39:39 +0200

Convenient

Diffstat:
MTalerCommon/HelperViews/GradientBorder.swift | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/TalerCommon/HelperViews/GradientBorder.swift b/TalerCommon/HelperViews/GradientBorder.swift @@ -284,10 +284,10 @@ struct GradientBorder<Content: View>: View { } } extension GradientBorder { - init(size: CGFloat, radius: CGFloat = 20.0, lineWidth: CGFloat = 4.0, color: Color, background: Color, content: @escaping () -> Content) { + init(size: CGFloat, color: Color, background: Color, content: @escaping () -> Content) { self.size = size - self.radius = radius - self.lineWidth = lineWidth + self.radius = 20.0 + self.lineWidth = 4.0 self.color = color self.background = background self.content = content