From 36f0935e55223e8f7955b86a3342ee1e81ce8472 Mon Sep 17 00:00:00 2001 From: Diego Mello Date: Wed, 30 Nov 2022 13:13:52 -0300 Subject: [PATCH] Reenable layout animation on RoomView --- app/views/RoomView/List/index.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/views/RoomView/List/index.tsx b/app/views/RoomView/List/index.tsx index bcb1b50ca..f2028ea5c 100644 --- a/app/views/RoomView/List/index.tsx +++ b/app/views/RoomView/List/index.tsx @@ -10,7 +10,7 @@ import ActivityIndicator from '../../../containers/ActivityIndicator'; import { MessageType, TAnyMessage, TMessageModel, TThreadMessageModel, TThreadModel } from '../../../definitions'; import database from '../../../lib/database'; import { compareServerVersion, debounce } from '../../../lib/methods/helpers'; -// import { animateNextTransition } from '../../../lib/methods/helpers/layoutAnimation'; +import { animateNextTransition } from '../../../lib/methods/helpers/layoutAnimation'; import log from '../../../lib/methods/helpers/log'; import EmptyRoom from '../EmptyRoom'; // @ts-ignore @@ -124,7 +124,7 @@ class ListContainer extends React.Component { this.count += QUERY_SIZE; - const { rid, tmid, showMessageInMainThread, serverVersion } = this.props; + const { rid, tmid, showMessageInMainThread, serverVersion, listRef } = this.props; const db = database.active; // handle servers with version < 3.0.0 @@ -185,11 +185,11 @@ class ListContainer extends React.Component