From cc82e4fbf2613808f6ff1fec115d65cb2d469211 Mon Sep 17 00:00:00 2001 From: Javier Cicchelli Date: Fri, 3 Jul 2026 20:53:55 +0200 Subject: [PATCH] Reordered the "invertStyle" property in the RecordingButtonStyle button style in the Recording package target for consistency. --- .../Features/Sources/Recording/RecordingButtonStyle.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Packages/Features/Sources/Recording/RecordingButtonStyle.swift b/Packages/Features/Sources/Recording/RecordingButtonStyle.swift index bd63662..06a969f 100644 --- a/Packages/Features/Sources/Recording/RecordingButtonStyle.swift +++ b/Packages/Features/Sources/Recording/RecordingButtonStyle.swift @@ -20,11 +20,11 @@ struct RecordingButtonStyle: ButtonStyle { /// The padding between the button's label and its background, scaled relative to the current dynamic type size. @ScaledMetric private var padding = Constant.Padding.button - /// Whether the color scheme of the button's label should be inverted from the environment's. - private let invertStyle: Bool - /// The width and height of the button's label, scaled relative to the current dynamic type size. @ScaledMetric private var size = Constant.Size.button + + /// Whether the color scheme of the button's label should be inverted from the environment's. + private let invertStyle: Bool // MARK: Initializers