Reordered the "invertStyle" property in the RecordingButtonStyle button style in the Recording package target for consistency.

This commit is contained in:
2026-07-03 20:53:55 +02:00
parent 44a2036e71
commit cc82e4fbf2
@@ -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