fix(reddit): change SettingsEnum name and patch name

This commit is contained in:
inotia00 2023-06-27 02:10:38 +09:00
parent 6dd0ac4d39
commit cdf45b3a95
2 changed files with 11 additions and 11 deletions

View File

@ -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 import app.revanced.patches.reddit.utils.settings.bytecode.patch.SettingsPatch.Companion.updateSettingsStatus
@Patch @Patch
@Name("hide-screenshot-popup") @Name("disable-screenshot-popup")
@Description("Hides the popup when taking a screenshot.") @Description("Disables the popup that shows up when taking a screenshot.")
@DependsOn( @DependsOn(
[ [
SettingsPatch::class, SettingsPatch::class,
@ -56,6 +56,6 @@ class ScreenshotPopupPatch : BytecodePatch(
private companion object { private companion object {
private const val INTEGRATIONS_METHOD_DESCRIPTOR = private const val INTEGRATIONS_METHOD_DESCRIPTOR =
"Lapp/revanced/reddit/patches/ScreenshotPopupPatch;" + "Lapp/revanced/reddit/patches/ScreenshotPopupPatch;" +
"->hideScreenshotPopup()Z" "->disableScreenshotPopup()Z"
} }
} }

View File

@ -1,12 +1,12 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?> <?xml version="1.0" encoding="utf-8" standalone="no"?>
<resources> <resources>
<string name="revanced_enable_open_links_directly_summary">Skips over redirection URLs to external links</string> <string name="revanced_disable_screenshot_popup_summary">Disables the popup that shows up when taking a screenshot</string>
<string name="revanced_enable_open_links_directly_title">Open links directly</string> <string name="revanced_disable_screenshot_popup_title">Disable screenshot popup</string>
<string name="revanced_enable_open_links_externally_summary">Open links outside of the app directly in your browser</string>
<string name="revanced_enable_open_links_externally_title">Open links externally</string>
<string name="revanced_enable_sanitize_url_query_summary">Removes (tracking) query parameters from the URLs when sharing links</string>
<string name="revanced_enable_sanitize_url_query_title">Sanitize sharing links</string>
<string name="revanced_extended_settings_title">ReVanced Extended</string> <string name="revanced_extended_settings_title">ReVanced Extended</string>
<string name="revanced_hide_screenshot_popup_summary">Hides the popup when taking a screenshot</string> <string name="revanced_open_links_directly_summary">Skips over redirection URLs to external links</string>
<string name="revanced_hide_screenshot_popup_title">Hide screenshot popup</string> <string name="revanced_open_links_directly_title">Open links directly</string>
<string name="revanced_open_links_externally_summary">Open links outside of the app directly in your browser</string>
<string name="revanced_open_links_externally_title">Open links externally</string>
<string name="revanced_sanitize_url_query_summary">Removes (tracking) query parameters from the URLs when sharing links</string>
<string name="revanced_sanitize_url_query_title">Sanitize sharing links</string>
</resources> </resources>