From 8ba87d57cd6d05d6379e4563c43bc1a857481380 Mon Sep 17 00:00:00 2001 From: jeffvli Date: Sun, 28 Dec 2025 20:05:37 -0800 Subject: [PATCH] fix default lyrics fetchers --- src/main/features/core/settings/index.ts | 1 + src/renderer/hooks/use-sync-settings-to-main.ts | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/src/main/features/core/settings/index.ts b/src/main/features/core/settings/index.ts index 6f0d71d81..dff1b3031 100644 --- a/src/main/features/core/settings/index.ts +++ b/src/main/features/core/settings/index.ts @@ -26,6 +26,7 @@ export const store = new Store({ disable_auto_updates: false, enableNeteaseTranslation: false, global_media_hotkeys: true, + lyrics: ['NetEase', 'lrclib.net'], mediaSession: false, playbackType: 'web', should_prompt_accessibility: true, diff --git a/src/renderer/hooks/use-sync-settings-to-main.ts b/src/renderer/hooks/use-sync-settings-to-main.ts index 2940dd97a..ce1cb4258 100644 --- a/src/renderer/hooks/use-sync-settings-to-main.ts +++ b/src/renderer/hooks/use-sync-settings-to-main.ts @@ -48,6 +48,10 @@ export const useSyncSettingsToMain = () => { mainStoreKey: string; rendererValue: any; }> = [ + { + mainStoreKey: 'lyrics', + rendererValue: settings.lyrics.sources, + }, { mainStoreKey: 'window_window_bar_style', rendererValue: settings.window.windowBarStyle,