From 7eaea145f584ea9e80e99ee28d56988550090959 Mon Sep 17 00:00:00 2001 From: Julien Maille Date: Fri, 13 Feb 2026 21:25:36 +0100 Subject: [PATCH] IMP: settings --- js/accounts/config.js | 3 +++ js/settings.js | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/js/accounts/config.js b/js/accounts/config.js index a7956da..cf3d341 100644 --- a/js/accounts/config.js +++ b/js/accounts/config.js @@ -40,6 +40,9 @@ if (config) { auth = getAuth(app); database = getDatabase(app); provider = new GoogleAuthProvider(); + provider.setCustomParameters({ + prompt: 'select_account', + }); console.log('Firebase initialized from ' + (storedConfig ? 'saved' : 'default') + ' config'); } catch (error) { console.error('Error initializing Firebase:', error); diff --git a/js/settings.js b/js/settings.js index 7af36fb..3cef295 100644 --- a/js/settings.js +++ b/js/settings.js @@ -1845,7 +1845,7 @@ export function initializeSettings(scrobbler, player, api, ui) { console.log('Could not clear IndexedDB stores:', dbError); // Try to delete the entire database as fallback try { - const deleteRequest = indexedDB.deleteDatabase('monochrome-music'); + const deleteRequest = indexedDB.deleteDatabase('monochromeDB'); await new Promise((resolve, reject) => { deleteRequest.onsuccess = resolve; deleteRequest.onerror = reject;