Fix previous commit, move it to sectionMobile
parent
28995ad74f
commit
b0e57756cb
|
|
@ -479,35 +479,36 @@ const TopBar = (props) =>
|
||||||
>
|
>
|
||||||
<MoreIcon />
|
<MoreIcon />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
</div>
|
{ lobbyPeers.length > 0 &&
|
||||||
{ isMobile && lobbyPeers.length > 0 &&
|
<Tooltip
|
||||||
<Tooltip
|
title={intl.formatMessage({
|
||||||
title={intl.formatMessage({
|
id : 'tooltip.lobby',
|
||||||
id : 'tooltip.lobby',
|
defaultMessage : 'Show lobby'
|
||||||
defaultMessage : 'Show lobby'
|
})}
|
||||||
})}
|
>
|
||||||
>
|
<span className={classes.disabledButton}>
|
||||||
<span className={classes.disabledButton}>
|
<IconButton
|
||||||
<IconButton
|
aria-label={intl.formatMessage({
|
||||||
aria-label={intl.formatMessage({
|
id : 'tooltip.lobby',
|
||||||
id : 'tooltip.lobby',
|
defaultMessage : 'Show lobby'
|
||||||
defaultMessage : 'Show lobby'
|
})}
|
||||||
})}
|
className={classes.actionButton}
|
||||||
className={classes.actionButton}
|
color='inherit'
|
||||||
color='inherit'
|
disabled={!canPromote}
|
||||||
disabled={!canPromote}
|
onClick={() => setLockDialogOpen(!room.lockDialogOpen)}
|
||||||
onClick={() => setLockDialogOpen(!room.lockDialogOpen)}
|
|
||||||
>
|
|
||||||
<PulsingBadge
|
|
||||||
color='secondary'
|
|
||||||
badgeContent={lobbyPeers.length}
|
|
||||||
>
|
>
|
||||||
<SecurityIcon />
|
<PulsingBadge
|
||||||
</PulsingBadge>
|
color='secondary'
|
||||||
</IconButton>
|
badgeContent={lobbyPeers.length}
|
||||||
</span>
|
>
|
||||||
</Tooltip>
|
<SecurityIcon />
|
||||||
}
|
</PulsingBadge>
|
||||||
|
</IconButton>
|
||||||
|
</span>
|
||||||
|
</Tooltip>
|
||||||
|
}
|
||||||
|
|
||||||
|
</div>
|
||||||
<div className={classes.divider} />
|
<div className={classes.divider} />
|
||||||
<Button
|
<Button
|
||||||
aria-label={intl.formatMessage({
|
aria-label={intl.formatMessage({
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue