Force room list updates to not animate

This commit is contained in:
Stefan Ceriu
2023-05-10 16:30:17 +03:00
committed by Stefan Ceriu
parent 3285888100
commit 59314cd3c0
@@ -109,6 +109,7 @@ struct HomeScreen: View {
.scrollDisabled(context.viewState.roomListMode == .skeletons)
.animation(.elementDefault, value: context.viewState.showSessionVerificationBanner)
.animation(.elementDefault, value: context.viewState.roomListMode)
.animation(.none, value: context.viewState.visibleRooms)
.alert(item: $context.alertInfo) { $0.alert }
.alert(item: $context.leaveRoomAlertItem,
actions: leaveRoomAlertActions,