Skip to content

Commit

Permalink
fix :: �비밀번호 Textfield Secure 변경 시 View 움직임 없애기
Browse files Browse the repository at this point in the history
  • Loading branch information
HongSJae committed Feb 7, 2023
1 parent dc1b314 commit 6aa8beb
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ public struct SecureDMSFloatingTextField: View {
isSecure.toggle()
} label: {
Image(systemName: isSecure ? "eye.fill" : "eye.slash.fill")
.frame(width: 24, height: 24)
.foregroundColor(.GrayScale.gray5)
}
.padding()
Expand Down Expand Up @@ -90,5 +91,6 @@ public struct SecureDMSFloatingTextField: View {
.animation(.easeIn(duration: 0.3), value: isError)
.animation(.easeIn(duration: 0.3), value: isFloaintg)
.animation(.easeIn(duration: 0.3), value: isFocused)
.animation(.easeIn(duration: 0.3), value: isSecure)
}
}

0 comments on commit 6aa8beb

Please sign in to comment.