Skip to content

Commit f63ae8e

Browse files
committed
[#250] YDSLabel issue
1 parent 82a091b commit f63ae8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: YDS-SwiftUI/Source/Atom/YDSTextField/YDSTextFieldBase.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ struct YDSTextFieldBase<Leading: View, Trailing: View>: View {
9393
YDSLabel(
9494
text: fieldText,
9595
textColor: fieldTextColor,
96-
alignment: NSTextAlignment.left
96+
alignment: .leading
9797
)
9898
}
9999

@@ -132,7 +132,7 @@ struct YDSTextFieldBase<Leading: View, Trailing: View>: View {
132132
YDSLabel(
133133
text: helperText,
134134
textColor: helperTextColor,
135-
alignment: NSTextAlignment.left
135+
alignment: .leading
136136
)
137137
.padding(.horizontal, 8)
138138
}

0 commit comments

Comments
 (0)