defer per-user store init to post-login, reduce pre-login console noise

Moved initOfflineCacheStates, initPlaybackPreferences, initBlacklistStore
from onMount (before login) to handleLoginSuccess (after session active).
Downgraded pre-login "No active session" errors to debug level for
qobuzLegalStore, TitleBar tray settings, and offlineStore.
This commit is contained in:
vicrodh committed 2026-02-05 23:53:28 -06:00
1 parent 2dfb014a1e
commit 9503ad9d49
4 files changed
+22 -10

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@
const settings = await invoke<TraySettings>('get_tray_settings');
minimizeToTray = settings.minimize_to_tray;
} catch (e) {
console.error('Failed to load tray settings:', e);
console.debug('Failed to load tray settings:', e);
}
// Listen for window state changes