mirror of
https://github.com/ReVanced/revanced-patches.git
synced 2026-01-21 18:03:56 +00:00
feat(Tumblr): Add Disable Tumblr TV patch (#5959)
This commit is contained in:
@@ -1169,6 +1169,10 @@ public final class app/revanced/patches/tumblr/annoyances/popups/DisableGiftMess
|
|||||||
public static final fun getDisableGiftMessagePopupPatch ()Lapp/revanced/patcher/patch/BytecodePatch;
|
public static final fun getDisableGiftMessagePopupPatch ()Lapp/revanced/patcher/patch/BytecodePatch;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public final class app/revanced/patches/tumblr/annoyances/tv/DisableTumblrTvPatchKt {
|
||||||
|
public static final fun getDisableTumblrTvPatch ()Lapp/revanced/patcher/patch/BytecodePatch;
|
||||||
|
}
|
||||||
|
|
||||||
public final class app/revanced/patches/tumblr/featureflags/OverrideFeatureFlagsPatchKt {
|
public final class app/revanced/patches/tumblr/featureflags/OverrideFeatureFlagsPatchKt {
|
||||||
public static final fun getOverrideFeatureFlagsPatch ()Lapp/revanced/patcher/patch/BytecodePatch;
|
public static final fun getOverrideFeatureFlagsPatch ()Lapp/revanced/patcher/patch/BytecodePatch;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,19 @@
|
|||||||
|
package app.revanced.patches.tumblr.annoyances.tv
|
||||||
|
|
||||||
|
import app.revanced.patcher.patch.bytecodePatch
|
||||||
|
import app.revanced.patches.tumblr.featureflags.addFeatureFlagOverride
|
||||||
|
import app.revanced.patches.tumblr.featureflags.overrideFeatureFlagsPatch
|
||||||
|
|
||||||
|
@Suppress("unused")
|
||||||
|
val disableTumblrTvPatch = bytecodePatch(
|
||||||
|
name = "Disable Tumblr TV",
|
||||||
|
description = "Removes the Tumblr TV navigation button from the bottom navigation bar.",
|
||||||
|
) {
|
||||||
|
dependsOn(overrideFeatureFlagsPatch)
|
||||||
|
|
||||||
|
compatibleWith("com.tumblr")
|
||||||
|
|
||||||
|
execute {
|
||||||
|
addFeatureFlagOverride("tumblrTvMobileNav", "false")
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user