mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
fix media session settings error on web
This commit is contained in:
@@ -8,7 +8,7 @@ import {
|
||||
import { usePlaybackSettings, useSettingsStoreActions } from '/@/renderer/store/settings.store';
|
||||
import { Switch } from '/@/shared/components/switch/switch';
|
||||
|
||||
const isWindows = window.api.utils.isWindows();
|
||||
const isWindows = isElectron() ? window.api.utils.isWindows() : null;
|
||||
const isDesktop = isElectron();
|
||||
|
||||
export const MediaSessionSettings = () => {
|
||||
|
||||
Reference in New Issue
Block a user