Skip to content

Commit

Permalink
fix: border 조건 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Jihyun247 committed Aug 16, 2024
1 parent 77dd79b commit 2d5e24f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ struct InputFieldStyle: TextFieldStyle {
)
.focused($isFocused)
.onChange(of: isFocused) {
if isFocused { isBorderShowed = true }
isBorderShowed = isFocused
}
.onChange(of: text) {
isBorderShowed = false
Expand Down

0 comments on commit 2d5e24f

Please sign in to comment.