Follow-up

This commit is contained in:
Alexander Zinchuk 2021-08-21 14:56:05 +03:00
parent 996ab11408
commit 9b3f881f46

View File

@ -137,7 +137,7 @@ const ChatFolders: FC<OwnProps & StateProps & DispatchProps> = ({
}
return captureEvents(transitionRef.current, {
selectorToPreventScroll: '.Profile',
selectorToPreventScroll: '.chat-list',
onSwipe: ((e, direction) => {
if (direction === SwipeDirection.Left) {
setActiveChatFolder(Math.min(activeChatFolder + 1, folderTabs.length - 1));