Skip to content

Commit 535694e

Browse files
committed
feat: Use patch first flow
1 parent 15b43bf commit 535694e

File tree

6 files changed

+376
-77
lines changed

6 files changed

+376
-77
lines changed

app/src/main/java/app/revanced/manager/patcher/patch/PatchBundleInfo.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ sealed class PatchBundleInfo {
4949
relevantPatches.forEach {
5050
val targetList = when {
5151
it.compatiblePackages == null -> universal
52-
it.supports(
52+
// Before a concrete version is chosen, keep version-targeted patches visible.
53+
version == null || it.supports(
5354
packageName,
5455
version
5556
) -> compatible

0 commit comments

Comments
 (0)