Chat: Do not hightlight selected on mobile

This commit is contained in:
Alexander Zinchuk 2021-04-29 03:01:43 +03:00
parent 6bb81a8c0d
commit 752b958962

View File

@ -231,7 +231,7 @@ const Chat: FC<OwnProps & StateProps & DispatchProps> = ({
const className = buildClassName(
'Chat chat-item-clickable',
isChatPrivate(chatId) ? 'private' : 'group',
isSelected && 'selected',
isSelected && !IS_MOBILE_SCREEN && 'selected',
);
return (