fix overrided lyrics index from 1 not 0

This commit is contained in:
hasinarak3@gmail.com 2026-01-28 16:37:38 +03:00
parent 176c5eabec
commit 71c3e4eb1c

View file

@ -41,7 +41,11 @@ class POneStanzaLyrics {
this.lyrics[stanzaNumber].split("\n").toMutableList()
} else
mutableListOf()
result.addAll(alternativeList )
if (result.isNotEmpty() && alternativeList.isNotEmpty()) {
result.addAll(1, alternativeList) // overridedLyrics's index from 1 not 0
} else {
result.addAll(alternativeList)
}
return result
}
}