fix overrided lyrics index from 1 not 0
This commit is contained in:
parent
176c5eabec
commit
71c3e4eb1c
1 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue