diff --git a/src/main/kotlin/app/revanced/patches/reddit/layout/navigation/patch/DiscoverButtonPatch.kt b/src/main/kotlin/app/revanced/patches/reddit/layout/navigation/patch/DiscoverCommunityButtonPatch.kt similarity index 88% rename from src/main/kotlin/app/revanced/patches/reddit/layout/navigation/patch/DiscoverButtonPatch.kt rename to src/main/kotlin/app/revanced/patches/reddit/layout/navigation/patch/DiscoverCommunityButtonPatch.kt index 2c0ef4ed2..18b494cee 100644 --- a/src/main/kotlin/app/revanced/patches/reddit/layout/navigation/patch/DiscoverButtonPatch.kt +++ b/src/main/kotlin/app/revanced/patches/reddit/layout/navigation/patch/DiscoverCommunityButtonPatch.kt @@ -15,8 +15,8 @@ import app.revanced.patches.reddit.utils.settings.bytecode.patch.SettingsBytecod import app.revanced.patches.reddit.utils.settings.resource.patch.SettingsPatch @Patch -@Name("Hide discover button") -@Description("Hide discover button at navigation bar.") +@Name("Hide discover community button") +@Description("Hide discover button or communities button at navigation bar.") @DependsOn( [ NavigationButtonsPatch::class, @@ -25,7 +25,7 @@ import app.revanced.patches.reddit.utils.settings.resource.patch.SettingsPatch ) @RedditCompatibility @Version("0.0.1") -class DiscoverButtonPatch : BytecodePatch() { +class DiscoverCommunityButtonPatch : BytecodePatch() { override fun execute(context: BytecodeContext): PatchResult { updateSettingsStatus("DiscoverButtons") diff --git a/src/main/resources/reddit/settings/host/values/strings.xml b/src/main/resources/reddit/settings/host/values/strings.xml index d1796e317..48e228a88 100644 --- a/src/main/resources/reddit/settings/host/values/strings.xml +++ b/src/main/resources/reddit/settings/host/values/strings.xml @@ -5,8 +5,8 @@ ReVanced Extended Hide create button in navigation Hide create button - Hide discover button in navigation - Hide discover button + Hide discover button or communities button in navigation + Hide discover / community button Skips over redirection URLs to external links Open links directly Open links outside of the app directly in your browser