Do not use lastFM api key and secret to determine if LastFM.Enabled should be set.

This commit is contained in:
Caio Cotts
2024-06-10 14:55:07 -04:00
parent e535f7eb78
commit 1b77830eb4
3 changed files with 4 additions and 4 deletions
+3 -1
View File
@@ -27,7 +27,9 @@ const Personal = () => {
<SelectDefaultView />
{config.enableReplayGain && <ReplayGainToggle />}
<NotificationsToggle />
{config.lastFMEnabled && <LastfmScrobbleToggle />}
{config.lastFMEnabled && localStorage.getItem('lastfm-apikey') && (
<LastfmScrobbleToggle />
)}
{config.listenBrainzEnabled && <ListenBrainzScrobbleToggle />}
</SimpleForm>
</Card>