Skip to content

Commit

Permalink
Add missing last line
Browse files Browse the repository at this point in the history
Signed-off-by: Brian Wo <45139213+brainwo@users.noreply.github.com>
  • Loading branch information
brainwo committed Aug 16, 2024
1 parent 2448d15 commit 00d2ab4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lib/kara.dart
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,18 @@ Kara? parse(String raw) {
}
}

if (currentLyric != null && currentStart != null && currentEnd != null) {
lines.add(KaraLine(
section: currentSection,
singers: currentSingers,
lyric: currentLyric,
start: currentStart,
end: currentEnd,
translations: currentTranslation.isEmpty ? null : currentTranslation,
time: time,
));
}

return Kara(
title: title,
artist: artist,
Expand Down

0 comments on commit 00d2ab4

Please sign in to comment.