Consider tests for animations (#1779)

This commit is contained in:
Alfonso Grillo
2023-09-21 17:49:38 +02:00
committed by GitHub
parent 37afc8c253
commit bc1910e9bb
8 changed files with 30 additions and 12 deletions
@@ -106,7 +106,7 @@ struct InviteUsersScreen: View {
}
.onChange(of: context.viewState.scrollToLastID) { lastAddedID in
guard let id = lastAddedID else { return }
withAnimation(.easeInOut) {
withElementAnimation(.easeInOut) {
scrollView.scrollTo(id)
}
}