Skip to content

Commit 934a0b8

Browse files
committed
smart side wasn't working
1 parent 63272d5 commit 934a0b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/org/akanework/gramophone/logic/utils/SemanticLyrics.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1535,7 +1535,7 @@ fun parseTtml(audioMimeType: String?, lyricText: String): SemanticLyrics? {
15351535
state.paragraphs.forEach {
15361536
if (agent != it.agent) {
15371537
agent = it.agent
1538-
agentToSide.putIfAbsentSupport(it.agent, side)
1538+
agentToSide.putIfAbsentSupport(it.agent, !side)
15391539
side = agentToSide[it.agent]!!
15401540
}
15411541
}

0 commit comments

Comments
 (0)