Skip to content

Commit

Permalink
synthesised init
Browse files Browse the repository at this point in the history
  • Loading branch information
Velin92 committed Feb 15, 2023
1 parent e569a13 commit 01eaa40
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,8 @@ import SwiftUI

struct SettingsRowLabelStyle: LabelStyle {
@ScaledMetric private var menuIconSize = 30.0
private let alignment: VerticalAlignment

init(alignment: VerticalAlignment = .center) {
self.alignment = alignment
}

var alignment: VerticalAlignment = .firstTextBaseline

func makeBody(configuration: Configuration) -> some View {
HStack(alignment: alignment, spacing: 16) {
Expand Down

0 comments on commit 01eaa40

Please sign in to comment.