diff --git a/app/containers/RoomHeader/RoomHeader.tsx b/app/containers/RoomHeader/RoomHeader.tsx index 460afe67..76975bb1 100644 --- a/app/containers/RoomHeader/RoomHeader.tsx +++ b/app/containers/RoomHeader/RoomHeader.tsx @@ -7,6 +7,7 @@ import { MarkdownPreview } from '../markdown'; import RoomTypeIcon from '../RoomTypeIcon'; import { TUserStatus, IOmnichannelSource } from '../../definitions'; import { useTheme } from '../../theme'; +import { useAppSelector } from '../../lib/hooks'; const HIT_SLOP = { top: 5, @@ -141,8 +142,9 @@ const Header = React.memo( const { colors } = useTheme(); const portrait = height > width; let scale = 1; + const isMasterDetail = useAppSelector(state => state.app.isMasterDetail); - if (!portrait && !tmid) { + if (!portrait && !tmid && !isMasterDetail) { if (usersTyping.length > 0 || subtitle) { scale = 0.8; }