diff --git a/src/components/left/settings/folders/SettingsFoldersEdit.tsx b/src/components/left/settings/folders/SettingsFoldersEdit.tsx index 72e632a23..401710a3e 100644 --- a/src/components/left/settings/folders/SettingsFoldersEdit.tsx +++ b/src/components/left/settings/folders/SettingsFoldersEdit.tsx @@ -23,7 +23,7 @@ import { selectChatFilters } from '../../../../hooks/reducers/useFoldersReducer' import useHistoryBack from '../../../../hooks/useHistoryBack'; import useOldLang from '../../../../hooks/useOldLang'; -import AnimatedIcon from '../../../common/AnimatedIcon'; +import AnimatedIconWithPreview from '../../../common/AnimatedIconWithPreview'; import GroupChatInfo from '../../../common/GroupChatInfo'; import Icon from '../../../common/icons/Icon'; import PrivateChatInfo from '../../../common/PrivateChatInfo'; @@ -283,7 +283,7 @@ const SettingsFoldersEdit: FC = ({
- = ({ return (
- void; + isActive: boolean; }; type StateProps = { @@ -173,6 +174,7 @@ const INTERSECTION_THROTTLE = 500; const Profile: FC = ({ chatId, + isActive, threadId, profileState, theme, @@ -826,7 +828,8 @@ const Profile: FC = ({ {canAddMembers && ( diff --git a/src/components/right/RightColumn.tsx b/src/components/right/RightColumn.tsx index da1ba39a8..c5c4c16a9 100644 --- a/src/components/right/RightColumn.tsx +++ b/src/components/right/RightColumn.tsx @@ -313,6 +313,7 @@ const RightColumn: FC = ({ threadId={threadId} profileState={profileState} isMobile={isMobile} + isActive={isOpen && isActive} onProfileStateChange={setProfileState} /> ); diff --git a/src/components/right/management/ManageDiscussion.tsx b/src/components/right/management/ManageDiscussion.tsx index 6bc1ea833..c80978b0d 100644 --- a/src/components/right/management/ManageDiscussion.tsx +++ b/src/components/right/management/ManageDiscussion.tsx @@ -17,7 +17,7 @@ import useFlag from '../../../hooks/useFlag'; import useHistoryBack from '../../../hooks/useHistoryBack'; import useOldLang from '../../../hooks/useOldLang'; -import AnimatedIcon from '../../common/AnimatedIcon'; +import AnimatedIconWithPreview from '../../common/AnimatedIconWithPreview'; import Avatar from '../../common/Avatar'; import GroupChatInfo from '../../common/GroupChatInfo'; import NothingFound from '../../common/NothingFound'; @@ -248,7 +248,7 @@ const ManageDiscussion: FC = ({
- = ({
- = ({
-