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:
parent
ffe9bb851a
commit
9fa889536c
1 changed files with 4 additions and 1 deletions
|
|
@ -78,8 +78,11 @@ Singleton {
|
||||||
|
|
||||||
function _doLoadLyrics() {
|
function _doLoadLyrics() {
|
||||||
const meta = getMetadata();
|
const meta = getMetadata();
|
||||||
if (!meta)
|
if (!meta) {
|
||||||
|
lyricsModel.clear();
|
||||||
|
root.currentIndex = -1;
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
loading = true;
|
loading = true;
|
||||||
lyricsModel.clear();
|
lyricsModel.clear();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue