Improvements to sound on/off in story viewer
This commit is contained in:
parent
f1c9db543e
commit
58aaf1d0e7
11 changed files with 71 additions and 23 deletions
|
@ -55,6 +55,14 @@ export const ToastManager = ({
|
|||
);
|
||||
}
|
||||
|
||||
if (toastType === ToastType.StoryMuted) {
|
||||
return (
|
||||
<Toast onClose={hideToast} timeout={3 * SECOND}>
|
||||
{i18n('Stories__toast--hasNoSound')}
|
||||
</Toast>
|
||||
);
|
||||
}
|
||||
|
||||
strictAssert(
|
||||
toastType === undefined,
|
||||
`Unhandled toast of type: ${toastType}`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue