From 2448d15ce3efe65325962ca7f13a76d835bee7ff Mon Sep 17 00:00:00 2001 From: Brian Wo <45139213+brainwo@users.noreply.github.com> Date: Thu, 15 Aug 2024 22:20:35 +0800 Subject: [PATCH] Correctly parse singer index Signed-off-by: Brian Wo <45139213+brainwo@users.noreply.github.com> --- lib/kara.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/kara.dart b/lib/kara.dart index cd64f96..d6465a7 100644 --- a/lib/kara.dart +++ b/lib/kara.dart @@ -233,7 +233,7 @@ Kara? parse(String raw) { if (parsedSingerIndex == null) { return singers; } - singers?[parsedSingerIndex] = true; + singers?[parsedSingerIndex - 1] = true; return singers; }); continue;