diff --git a/src/main/kotlin/app/revanced/patches/reddit/layout/screenshotpopup/patch/ScreenshotPopupPatch.kt b/src/main/kotlin/app/revanced/patches/reddit/layout/screenshotpopup/patch/ScreenshotPopupPatch.kt index 5060387b1..6905428d7 100644 --- a/src/main/kotlin/app/revanced/patches/reddit/layout/screenshotpopup/patch/ScreenshotPopupPatch.kt +++ b/src/main/kotlin/app/revanced/patches/reddit/layout/screenshotpopup/patch/ScreenshotPopupPatch.kt @@ -20,8 +20,8 @@ import app.revanced.patches.reddit.utils.settings.bytecode.patch.SettingsPatch import app.revanced.patches.reddit.utils.settings.bytecode.patch.SettingsPatch.Companion.updateSettingsStatus @Patch -@Name("hide-screenshot-popup") -@Description("Hides the popup when taking a screenshot.") +@Name("disable-screenshot-popup") +@Description("Disables the popup that shows up when taking a screenshot.") @DependsOn( [ SettingsPatch::class, @@ -56,6 +56,6 @@ class ScreenshotPopupPatch : BytecodePatch( private companion object { private const val INTEGRATIONS_METHOD_DESCRIPTOR = "Lapp/revanced/reddit/patches/ScreenshotPopupPatch;" + - "->hideScreenshotPopup()Z" + "->disableScreenshotPopup()Z" } } diff --git a/src/main/resources/reddit/settings/host/values/strings.xml b/src/main/resources/reddit/settings/host/values/strings.xml index 628470d76..33e31d64a 100644 --- a/src/main/resources/reddit/settings/host/values/strings.xml +++ b/src/main/resources/reddit/settings/host/values/strings.xml @@ -1,12 +1,12 @@ - Skips over redirection URLs to external links - Open links directly - Open links outside of the app directly in your browser - Open links externally - Removes (tracking) query parameters from the URLs when sharing links - Sanitize sharing links + Disables the popup that shows up when taking a screenshot + Disable screenshot popup ReVanced Extended - Hides the popup when taking a screenshot - Hide screenshot popup + Skips over redirection URLs to external links + Open links directly + Open links outside of the app directly in your browser + Open links externally + Removes (tracking) query parameters from the URLs when sharing links + Sanitize sharing links