Stop re-rendering RoomsListView when RoomView is opened on smartphone

This commit is contained in:
Diego Mello 2022-12-13 17:28:21 -03:00
parent d860991c87
commit 83b5e8a98a
1 changed files with 1 additions and 1 deletions

View File

@ -239,7 +239,7 @@ class RoomsListView extends React.Component<IRoomsListViewProps, IRoomsListViewS
showUnread !== nextProps.showUnread ||
showAvatar !== nextProps.showAvatar ||
displayMode !== nextProps.displayMode ||
subscribedRoom !== nextProps.subscribedRoom ||
(subscribedRoom !== nextProps.subscribedRoom && isMasterDetail) ||
isMasterDetail !== nextProps.isMasterDetail ||
encryptionBanner !== nextProps.encryptionBanner ||
showServerDropdown !== nextProps.showServerDropdown