Skip to content

Commit 212418b

Browse files
authored
feat(Tumblr): Add Disable Tumblr TV patch (#5959)
1 parent 7dbc744 commit 212418b

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

patches/api/patches.api

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1169,6 +1169,10 @@ public final class app/revanced/patches/tumblr/annoyances/popups/DisableGiftMess
11691169
public static final fun getDisableGiftMessagePopupPatch ()Lapp/revanced/patcher/patch/BytecodePatch;
11701170
}
11711171

1172+
public final class app/revanced/patches/tumblr/annoyances/tv/DisableTumblrTvPatchKt {
1173+
public static final fun getDisableTumblrTvPatch ()Lapp/revanced/patcher/patch/BytecodePatch;
1174+
}
1175+
11721176
public final class app/revanced/patches/tumblr/featureflags/OverrideFeatureFlagsPatchKt {
11731177
public static final fun getOverrideFeatureFlagsPatch ()Lapp/revanced/patcher/patch/BytecodePatch;
11741178
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
package app.revanced.patches.tumblr.annoyances.tv
2+
3+
import app.revanced.patcher.patch.bytecodePatch
4+
import app.revanced.patches.tumblr.featureflags.addFeatureFlagOverride
5+
import app.revanced.patches.tumblr.featureflags.overrideFeatureFlagsPatch
6+
7+
@Suppress("unused")
8+
val disableTumblrTvPatch = bytecodePatch(
9+
name = "Disable Tumblr TV",
10+
description = "Removes the Tumblr TV navigation button from the bottom navigation bar.",
11+
) {
12+
dependsOn(overrideFeatureFlagsPatch)
13+
14+
compatibleWith("com.tumblr")
15+
16+
execute {
17+
addFeatureFlagOverride("tumblrTvMobileNav", "false")
18+
}
19+
}

0 commit comments

Comments
 (0)