From 97f5240d53b9978fb3745170fe03619c7c90274a Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Sat, 9 Nov 2024 05:16:56 +0100 Subject: [PATCH] fix: Add missing dependency to patch --- .../misc/dns/CheckWatchHistoryDomainNameResolutionPatch.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/patches/src/main/kotlin/app/revanced/patches/youtube/misc/dns/CheckWatchHistoryDomainNameResolutionPatch.kt b/patches/src/main/kotlin/app/revanced/patches/youtube/misc/dns/CheckWatchHistoryDomainNameResolutionPatch.kt index b831d1fae..e84893ebb 100644 --- a/patches/src/main/kotlin/app/revanced/patches/youtube/misc/dns/CheckWatchHistoryDomainNameResolutionPatch.kt +++ b/patches/src/main/kotlin/app/revanced/patches/youtube/misc/dns/CheckWatchHistoryDomainNameResolutionPatch.kt @@ -3,6 +3,7 @@ package app.revanced.patches.youtube.misc.dns import app.revanced.patcher.extensions.InstructionExtensions.addInstructions import app.revanced.patcher.patch.bytecodePatch import app.revanced.patches.all.misc.resources.addResources +import app.revanced.patches.all.misc.resources.addResourcesPatch import app.revanced.patches.youtube.shared.mainActivityOnCreateFingerprint private const val EXTENSION_CLASS_DESCRIPTOR = @@ -13,6 +14,8 @@ val checkWatchHistoryDomainNameResolutionPatch = bytecodePatch( name = "Check watch history domain name resolution", description = "Checks if the device DNS server is preventing user watch history from being saved.", ) { + dependsOn(addResourcesPatch) + compatibleWith( "com.google.android.youtube"( "18.38.44",