diff --git a/lib/models/patch.dart b/lib/models/patch.dart index 1d841bc3..7acf05ba 100644 --- a/lib/models/patch.dart +++ b/lib/models/patch.dart @@ -8,7 +8,6 @@ class Patch { Patch({ required this.name, required this.description, - required this.version, required this.excluded, required this.dependencies, required this.compatiblePackages, @@ -17,7 +16,6 @@ class Patch { factory Patch.fromJson(Map json) => _$PatchFromJson(json); final String name; final String description; - final String version; final bool excluded; final List dependencies; final List compatiblePackages; diff --git a/lib/ui/views/patches_selector/patches_selector_view.dart b/lib/ui/views/patches_selector/patches_selector_view.dart index ff364ff5..32e7802b 100644 --- a/lib/ui/views/patches_selector/patches_selector_view.dart +++ b/lib/ui/views/patches_selector/patches_selector_view.dart @@ -166,7 +166,6 @@ class _PatchesSelectorViewState extends State { (patch) => PatchItem( name: patch.name, simpleName: patch.getSimpleName(), - version: patch.version, description: patch.description, packageVersion: model.getAppVersion(), supportedPackageVersions: diff --git a/lib/ui/widgets/patcherView/patch_selector_card.dart b/lib/ui/widgets/patcherView/patch_selector_card.dart index f364a4f2..1b8265de 100644 --- a/lib/ui/widgets/patcherView/patch_selector_card.dart +++ b/lib/ui/widgets/patcherView/patch_selector_card.dart @@ -59,7 +59,7 @@ class PatchSelectorCard extends StatelessWidget { String _getPatchesSelection() { String text = ''; for (final Patch p in locator().selectedPatches) { - text += '\u2022 ${p.getSimpleName()} (v${p.version})\n'; + text += '\u2022 ${p.getSimpleName()}\n'; } return text.substring(0, text.length - 1); } diff --git a/lib/ui/widgets/patchesSelectorView/patch_item.dart b/lib/ui/widgets/patchesSelectorView/patch_item.dart index 294ba3ec..fd616062 100644 --- a/lib/ui/widgets/patchesSelectorView/patch_item.dart +++ b/lib/ui/widgets/patchesSelectorView/patch_item.dart @@ -14,7 +14,6 @@ class PatchItem extends StatefulWidget { required this.name, required this.simpleName, required this.description, - required this.version, required this.packageVersion, required this.supportedPackageVersions, required this.isUnsupported, @@ -25,7 +24,6 @@ class PatchItem extends StatefulWidget { final String name; final String simpleName; final String description; - final String version; final String packageVersion; final List supportedPackageVersions; final bool isUnsupported; @@ -90,14 +88,6 @@ class _PatchItemState extends State { ), ], ), - const SizedBox(height: 1), - Text( - widget.version, - style: TextStyle( - fontSize: 14, - color: Theme.of(context).colorScheme.secondary, - ), - ), const SizedBox(height: 4), Text( widget.description,