Skip to content

Commit

Permalink
fix: YDSLabel issue
Browse files Browse the repository at this point in the history
  • Loading branch information
iiuoon committed Jan 15, 2024
1 parent f02b5ef commit 35c240b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions YDS-SwiftUI/Source/Atom/YDSTextField/YDSTextFieldBase.swift
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ struct YDSTextFieldBase<Leading: View, Trailing: View>: View {
YDSLabel(
text: fieldText,
textColor: fieldTextColor,
alignment: NSTextAlignment.left
alignment: .leading
)
}

Expand Down Expand Up @@ -132,7 +132,7 @@ struct YDSTextFieldBase<Leading: View, Trailing: View>: View {
YDSLabel(
text: helperText,
textColor: helperTextColor,
alignment: NSTextAlignment.left
alignment: .leading
)
.padding(.horizontal, 8)
}
Expand Down

0 comments on commit 35c240b

Please sign in to comment.