handle playback from ItemCard

This commit is contained in:
jeffvli
2026-02-07 00:41:36 -08:00
parent f04ea3bca0
commit f46ca8cd35
5 changed files with 66 additions and 13 deletions
@@ -1,3 +1,4 @@
import isElectron from 'is-electron';
import { memo } from 'react';
import { useTranslation } from 'react-i18next';
@@ -116,6 +117,7 @@ export const IntegrationsTab = memo(() => {
<Switch
aria-label={t('setting.youtube', { postProcess: 'sentenceCase' })}
defaultChecked={settings.youtube}
disabled={!isElectron()}
onChange={(e) => updateIntegrations({ youtube: e.currentTarget.checked })}
/>
),