mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 17:15:48 +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',
|
||||
title: 'Error',
|
||||
message: error.message,
|
||||
icon: 'ic_warning',
|
||||
timeout: 10000
|
||||
timeout: 3000
|
||||
});
|
||||
}
|
||||
}, []);
|
||||
|
|
@ -97,7 +96,7 @@ const Player = ({ urlParams }) => {
|
|||
type: 'success',
|
||||
title: 'Subtitles loaded',
|
||||
message: `Subtitles from ${track.origin} loaded`,
|
||||
timeout: 4000
|
||||
timeout: 3000
|
||||
});
|
||||
}, []);
|
||||
const onPlayRequested = React.useCallback(() => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue