File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
BaseSwiftUI/Presentation/Component Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,9 @@ struct BaseButton: View {
1717 Text ( title)
1818 . foregroundStyle ( isEnabled ? . white : Color . white. opacity ( 0.5 ) )
1919 . frame ( maxWidth: . infinity, maxHeight: . infinity)
20+ . transaction { transaction in
21+ transaction. animation = nil
22+ }
2023 }
2124 . foregroundStyle ( . white)
2225 . background ( Color ( R . color. primary) )
Original file line number Diff line number Diff line change @@ -53,12 +53,10 @@ struct BaseTextField: View {
5353 . padding ( . trailing, Spacing . small. value)
5454
5555 if !errorMessage. isEmpty {
56- withAnimation {
57- Text ( errorMessage)
58- . foregroundStyle ( . red)
59- . font ( . footnote)
60- . frame ( maxWidth: . infinity, alignment: . leading)
61- }
56+ Text ( errorMessage)
57+ . foregroundStyle ( . red)
58+ . font ( . footnote)
59+ . frame ( maxWidth: . infinity, alignment: . leading)
6260 }
6361 }
6462 }
You can’t perform that action at this time.
0 commit comments