mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2025-05-11 21:15:37 +02:00
fix: import patches selects unsupported patches (#942)
This commit is contained in:
parent
ed06aaa1f5
commit
5e7458ff1c
1 changed files with 1 additions and 0 deletions
|
@ -41,6 +41,7 @@ class PatchItem extends StatefulWidget {
|
||||||
class _PatchItemState extends State<PatchItem> {
|
class _PatchItemState extends State<PatchItem> {
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
|
widget.isSelected = widget.isSelected && (!widget.isUnsupported || widget._managerAPI.areExperimentalPatchesEnabled());
|
||||||
return Padding(
|
return Padding(
|
||||||
padding: const EdgeInsets.symmetric(vertical: 4.0),
|
padding: const EdgeInsets.symmetric(vertical: 4.0),
|
||||||
child: CustomCard(
|
child: CustomCard(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue