mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-10 04:30:25 +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 { usePlaybackSettings, useSettingsStoreActions } from '/@/renderer/store/settings.store';
|
||||||
import { Switch } from '/@/shared/components/switch/switch';
|
import { Switch } from '/@/shared/components/switch/switch';
|
||||||
|
|
||||||
const isWindows = window.api.utils.isWindows();
|
const isWindows = isElectron() ? window.api.utils.isWindows() : null;
|
||||||
const isDesktop = isElectron();
|
const isDesktop = isElectron();
|
||||||
|
|
||||||
export const MediaSessionSettings = () => {
|
export const MediaSessionSettings = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user