mirror of
https://github.com/SrIzan10/lofi.git
synced 2026-06-06 00:56:53 +00:00
fix: title not changing on next song
This commit is contained in:
@@ -195,6 +195,7 @@
|
||||
appState.currentSong = appState.songQueue[0];
|
||||
appState.duration = appState.currentSong.duration;
|
||||
setMediaSession();
|
||||
document.title = `${appState.currentSong.title} - ${appState.currentSong.artists}`;
|
||||
} else {
|
||||
appState.error = 'Failed to load songs.';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user