File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ public struct ChatView: View {
4848 }
4949 . listRowBackground ( Color ( . backgroundPrimary) )
5050 . listStyle ( PlainListStyle ( ) )
51- . accessibleAnimation ( . easeOut , value: viewStore. messages)
51+ . accessibleAnimation ( . spring , value: viewStore. messages)
5252 }
5353 }
5454
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ public struct BasicInputView: View {
5555 viewStore. isSendButtonDisabled ? Color ( . border) : . blue
5656 }
5757 )
58- . accessibleAnimation ( . easeOut ( duration: 0.13 ) , value: viewStore. isSendButtonDisabled)
58+ . accessibleAnimation ( . spring ( duration: 0.13 ) , value: viewStore. isSendButtonDisabled)
5959 . accessibilityLabel ( Text ( L10n . Chat. send) )
6060 . frame ( width: 38 , height: 38 )
6161 . overlay (
Original file line number Diff line number Diff line change @@ -20,6 +20,6 @@ public extension View {
2020struct MyModifier_Previews : PreviewProvider {
2121 static var previews : some View {
2222 Text ( " Hello, world! " )
23- . modifier ( AccessibleAnimation ( animation: . easeOut , value: 0 ) )
23+ . modifier ( AccessibleAnimation ( animation: . spring , value: 0 ) )
2424 }
2525}
You can’t perform that action at this time.
0 commit comments