Skip to content

Commit

Permalink
Fix subvoice state loading
Browse files Browse the repository at this point in the history
  • Loading branch information
Elleo committed Nov 17, 2024
1 parent 824ebb0 commit 79ddcc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/voice_selector.dart
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class _VoiceSelectorState extends State<VoiceSelector> {
currentVoice = modelPath.split("/").last.trim();
});
}
re = RegExp("-s (\\d)");
re = RegExp("-s (\\d+)");
String? subVoice = re.firstMatch(config)?.group(1);
if (subVoice != null) {
setState(() {
Expand Down

0 comments on commit 79ddcc2

Please # to comment.