mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-01-11 22:40:31 +00:00
Use New Player Setting From Core
This commit is contained in:
parent
61d49602e5
commit
50fc9b8a48
1 changed files with 2 additions and 2 deletions
|
|
@ -213,7 +213,7 @@ const useProfileSettingsInputs = (profile) => {
|
|||
}
|
||||
}), [profile.settings]);
|
||||
const playInExternalPlayerCheckbox = React.useMemo(() => ({
|
||||
checked: profile.settings.playInExternalPlayer,
|
||||
checked: profile.settings.playerType === 'external',
|
||||
onClick: () => {
|
||||
core.transport.dispatch({
|
||||
action: 'Ctx',
|
||||
|
|
@ -221,7 +221,7 @@ const useProfileSettingsInputs = (profile) => {
|
|||
action: 'UpdateSettings',
|
||||
args: {
|
||||
...profile.settings,
|
||||
playInExternalPlayer: !profile.settings.playInExternalPlayer
|
||||
playerType: profile.settings.playerType !== 'external' ? 'external' : 'internal'
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue