diff --git a/src/main/kotlin/app/revanced/patches/youtube/general/spoofappversion/SpoofAppVersionPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/general/spoofappversion/SpoofAppVersionPatch.kt index 532671dc2..5fcfa9beb 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/general/spoofappversion/SpoofAppVersionPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/general/spoofappversion/SpoofAppVersionPatch.kt @@ -3,7 +3,6 @@ package app.revanced.patches.youtube.general.spoofappversion import app.revanced.patcher.data.ResourceContext import app.revanced.patcher.extensions.InstructionExtensions.replaceInstruction import app.revanced.patches.youtube.utils.compatibility.Constants.COMPATIBLE_PACKAGE -import app.revanced.patches.youtube.utils.integrations.Constants.GENERAL_CLASS_DESCRIPTOR import app.revanced.patches.youtube.utils.integrations.Constants.PATCH_STATUS_CLASS_DESCRIPTOR import app.revanced.patches.youtube.utils.settings.SettingsBytecodePatch import app.revanced.patches.youtube.utils.settings.SettingsPatch @@ -42,18 +41,6 @@ object SpoofAppVersionPatch : BaseResourcePatch( 0, "const-string v0, \"19.13.37\"" ) - SettingsBytecodePatch.contexts.findMethodOrThrow(PATCH_STATUS_CLASS_DESCRIPTOR) { - name == "SpoofAppVersionDefaultBoolean" - }.replaceInstruction( - 0, - "const/4 v0, 0x1" - ) - SettingsBytecodePatch.contexts.findMethodOrThrow(PATCH_STATUS_CLASS_DESCRIPTOR) { - name == "SpoofAppVersionUserDialogMessage" - }.replaceInstruction( - 0, - "const-string v0, \"revanced_spoof_app_version_user_dialog_message_19_16\"" - ) } } } diff --git a/src/main/resources/youtube/settings/host/values/strings.xml b/src/main/resources/youtube/settings/host/values/strings.xml index 6208a49b3..76f92d41a 100644 --- a/src/main/resources/youtube/settings/host/values/strings.xml +++ b/src/main/resources/youtube/settings/host/values/strings.xml @@ -13,6 +13,11 @@ Do you wish to proceed? Restart to load the layout normally Refresh and restart + "There is a YouTube server-side bug that causes rolling number text such as likes, views, and upload dates to be hidden for some users. + +A temporary workaround for this issue is to spoof the app version to 19.13.37. + +Do you want to spoof the app version before restarting the app?" Normal Video downloader package name @@ -375,7 +380,6 @@ This does not bypass the age restriction. It just accepts it automatically." - Disabling this setting may result in a YouTube server-side bug that causes rolling number text such as likes, views, and upload dates to be hidden. Edit spoof app version Type the spoof app version target. Spoof app version target