fix: tweak card appearances (#296)

* fix: tweak card appearances

* Update patch_selector_card.dart
This commit is contained in:
afn
2022-09-25 08:43:37 -04:00
committed by GitHub
parent db18874ea1
commit 7ecf951bfb
5 changed files with 27 additions and 31 deletions

View File

@@ -32,7 +32,7 @@ class PatchSelectorCard extends StatelessWidget {
),
),
),
const SizedBox(height: 10),
const SizedBox(height: 4),
locator<PatcherViewModel>().selectedApp == null
? I18nText('patchSelectorCard.widgetSubtitle')
: locator<PatcherViewModel>().selectedPatches.isEmpty
@@ -46,7 +46,7 @@ class PatchSelectorCard extends StatelessWidget {
String _getPatchesSelection() {
String text = '';
for (Patch p in locator<PatcherViewModel>().selectedPatches) {
text += '${p.getSimpleName()} (v${p.version})\n';
text += '\u2022 ${p.getSimpleName()} (v${p.version})\n';
}
return text.substring(0, text.length - 1);
}