fix: reset lyrics when player is killed (#1359)

Co-authored-by: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>
This commit is contained in:
İlyas 2026-04-02 13:49:22 +03:00 committed by GitHub
parent ffe9bb851a
commit 9fa889536c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -78,8 +78,11 @@ Singleton {
function _doLoadLyrics() {
const meta = getMetadata();
if (!meta)
if (!meta) {
lyricsModel.clear();
root.currentIndex = -1;
return;
}
loading = true;
lyricsModel.clear();