diff --git a/ts/components/conversation/header/ConversationHeaderSubtitle.tsx b/ts/components/conversation/header/ConversationHeaderSubtitle.tsx index ceb25417c..47a0d3b25 100644 --- a/ts/components/conversation/header/ConversationHeaderSubtitle.tsx +++ b/ts/components/conversation/header/ConversationHeaderSubtitle.tsx @@ -117,6 +117,7 @@ export const ConversationHeaderSubitle = (props: ConversationHeaderSubitleProps) { if (e.key === 'Enter') { e.preventDefault(); diff --git a/ts/components/conversation/header/ConversationHeaderTitle.tsx b/ts/components/conversation/header/ConversationHeaderTitle.tsx index b8794553a..71afa726f 100644 --- a/ts/components/conversation/header/ConversationHeaderTitle.tsx +++ b/ts/components/conversation/header/ConversationHeaderTitle.tsx @@ -109,7 +109,7 @@ export const ConversationHeaderTitle = () => { if (isRightPanelOn) { dispatch(closeRightPanel()); } else { - if (visibleTitleIndex === 2) { + if (visibleTitleIndex === subtitles.length - 1) { dispatch(setRightOverlayMode('disappearing-messages')); } else { dispatch(setRightOverlayMode('panel-settings')); @@ -131,16 +131,16 @@ export const ConversationHeaderTitle = () => { return (
-
+
{isMe ? ( - {i18n('noteToSelf')} + + {i18n('noteToSelf')} + ) : ( {convoName}