We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70a6950 commit 8fa8e39Copy full SHA for 8fa8e39
app/src/main/java/app/revanced/manager/ui/screen/PatchesSelectorScreen.kt
@@ -230,8 +230,8 @@ fun PatchesSelectorScreen(
230
// Show selection warning if enabled
231
viewModel.selectionWarningEnabled -> showSelectionWarning = true
232
233
- // Show universal warning if enabled
234
- viewModel.universalPatchWarningEnabled -> showUniversalWarning = true
+ // Show universal warning if universal patch is selected and the toggle is off
+ patch.compatiblePackages == null && viewModel.universalPatchWarningEnabled -> showUniversalWarning = true
235
236
// Toggle the patch otherwise
237
else -> viewModel.togglePatch(uid, patch)
0 commit comments