Skip to content

Commit b76afc2

Browse files
authoredAug 31, 2023
fix: Updating textColor and textAlignment when state changes (#15)
1 parent e8c3062 commit b76afc2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎Sources/ResponsiveTextField/ResponsiveTextField.swift

+2
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,8 @@ extension ResponsiveTextField: UIViewRepresentable {
338338
uiView.isSecureTextEntry = isSecure
339339
uiView.returnKeyType = returnKeyType
340340
uiView.text = text.wrappedValue
341+
uiView.textColor = textColor
342+
uiView.textAlignment = textAlignment
341343

342344
if !adjustsFontForContentSizeCategory {
343345
// We should only support dynamic font changes using our own environment

0 commit comments

Comments
 (0)
Please sign in to comment.