Skip to content

Commit

Permalink
fix: import patches selects unsupported patches (#942)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAabedKhan committed Jun 14, 2023
1 parent ed06aaa commit 5e7458f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ui/widgets/patchesSelectorView/patch_item.dart
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ class PatchItem extends StatefulWidget {
class _PatchItemState extends State<PatchItem> {
@override
Widget build(BuildContext context) {
widget.isSelected = widget.isSelected && (!widget.isUnsupported || widget._managerAPI.areExperimentalPatchesEnabled());
return Padding(
padding: const EdgeInsets.symmetric(vertical: 4.0),
child: CustomCard(
Expand Down

0 comments on commit 5e7458f

Please sign in to comment.