mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2025-05-11 21:15:37 +02:00
refactor: apply suggestions from analyser
Signed-off-by: validcube <pun.butrach@gmail.com>
This commit is contained in:
parent
c56c445fb7
commit
a0b673c138
18 changed files with 120 additions and 79 deletions
|
@ -58,7 +58,8 @@ class PatchSelectorCard extends StatelessWidget {
|
|||
|
||||
String _getPatchesSelection() {
|
||||
String text = '';
|
||||
final List<Patch> selectedPatches = locator<PatcherViewModel>().selectedPatches;
|
||||
final List<Patch> selectedPatches =
|
||||
locator<PatcherViewModel>().selectedPatches;
|
||||
selectedPatches.sort((a, b) => a.name.compareTo(b.name));
|
||||
for (final Patch p in selectedPatches) {
|
||||
text += '• ${p.getSimpleName()}\n';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue