Allow hide chat on mobile
This commit is contained in:
parent
e545cae537
commit
0b5f10c508
1 changed files with 7 additions and 7 deletions
|
@ -259,6 +259,13 @@ export default function LivestreamChatLayout(props: Props) {
|
|||
</span>
|
||||
</MenuItem>
|
||||
|
||||
<MenuItem className="comment__menu-option" onSelect={() => setChatHidden(true)}>
|
||||
<span className="menu__link">
|
||||
<Icon aria-hidden icon={ICONS.EYE} />
|
||||
{__('Hide Chat')}
|
||||
</span>
|
||||
</MenuItem>
|
||||
|
||||
{!isPopoutWindow && !isMobile && (
|
||||
<>
|
||||
<MenuItem className="comment__menu-option" onSelect={handlePopout}>
|
||||
|
@ -267,13 +274,6 @@ export default function LivestreamChatLayout(props: Props) {
|
|||
{__('Popout Chat')}
|
||||
</span>
|
||||
</MenuItem>
|
||||
|
||||
<MenuItem className="comment__menu-option" onSelect={() => setChatHidden(true)}>
|
||||
<span className="menu__link">
|
||||
<Icon aria-hidden icon={ICONS.EYE} />
|
||||
{__('Hide Chat')}
|
||||
</span>
|
||||
</MenuItem>
|
||||
</>
|
||||
)}
|
||||
</MenuList>
|
||||
|
|
Loading…
Reference in a new issue