mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-21 07:32:02 +00:00
decrease toast timeout
This commit is contained in:
parent
f27c29980c
commit
19313b0f65
1 changed files with 2 additions and 3 deletions
|
|
@ -87,8 +87,7 @@ const Player = ({ urlParams }) => {
|
||||||
type: 'error',
|
type: 'error',
|
||||||
title: 'Error',
|
title: 'Error',
|
||||||
message: error.message,
|
message: error.message,
|
||||||
icon: 'ic_warning',
|
timeout: 3000
|
||||||
timeout: 10000
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}, []);
|
}, []);
|
||||||
|
|
@ -97,7 +96,7 @@ const Player = ({ urlParams }) => {
|
||||||
type: 'success',
|
type: 'success',
|
||||||
title: 'Subtitles loaded',
|
title: 'Subtitles loaded',
|
||||||
message: `Subtitles from ${track.origin} loaded`,
|
message: `Subtitles from ${track.origin} loaded`,
|
||||||
timeout: 4000
|
timeout: 3000
|
||||||
});
|
});
|
||||||
}, []);
|
}, []);
|
||||||
const onPlayRequested = React.useCallback(() => {
|
const onPlayRequested = React.useCallback(() => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue