mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
fix: import patches selects unsupported patches (#942)
This commit is contained in:
parent
ed06aaa1f5
commit
5e7458ff1c
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user