Reordered the "invertStyle" property in the RecordingButtonStyle button style in the Recording package target for consistency.
This commit is contained in:
@@ -20,12 +20,12 @@ struct RecordingButtonStyle: ButtonStyle {
|
|||||||
/// The padding between the button's label and its background, scaled relative to the current dynamic type size.
|
/// 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
|
@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.
|
/// The width and height of the button's label, scaled relative to the current dynamic type size.
|
||||||
@ScaledMetric private var size = Constant.Size.button
|
@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
|
// MARK: Initializers
|
||||||
|
|
||||||
/// Creates a recording button style.
|
/// Creates a recording button style.
|
||||||
|
|||||||
Reference in New Issue
Block a user