feat: use provided patches.json to load patches

This commit is contained in:
Alberto Ponces 2022-08-29 17:44:45 +01:00
parent 080ceae784
commit 03b45e0db0
11 changed files with 210 additions and 338 deletions

View file

@ -72,7 +72,7 @@ class PatchSelectorCard extends StatelessWidget {
String _getPatchesSelection() {
String text = '';
for (Patch p in locator<PatcherViewModel>().selectedPatches) {
text += '${p.simpleName} (v${p.version})\n';
text += '${p.getSimpleName()} (v${p.version})\n';
}
return text.substring(0, text.length - 1);
}