title added to mute button

This commit is contained in:
nklhrstv 2020-03-06 16:51:26 +02:00
parent d8ddec6177
commit 85d0259b45

View file

@ -16,7 +16,7 @@ const MuteButton = ({ className, muted, volume, dispatch }) => {
volume < 70 ? 'ic_volume2' :
'ic_volume3';
return (
<Button className={classnames(className, { 'disabled': typeof muted !== 'boolean' })} tabIndex={-1} onClick={toggleMuted}>
<Button className={classnames(className, { 'disabled': typeof muted !== 'boolean' })} title={muted ? 'Unmute' : 'Mute'} tabIndex={-1} onClick={toggleMuted}>
<Icon className={'icon'} icon={icon} />
</Button>
);