From 82158deaf267d057fe3d44b5c41439eb34911188 Mon Sep 17 00:00:00 2001 From: inotia00 <108592928+inotia00@users.noreply.github.com> Date: Sun, 30 Mar 2025 18:01:01 +0900 Subject: [PATCH] chore(YouTube - Fullscreen components): Remove warning for `Keep landscape mode` setting --- .../youtube/player/fullscreen/FullscreenComponentsPatch.kt | 3 --- 1 file changed, 3 deletions(-) diff --git a/patches/src/main/kotlin/app/revanced/patches/youtube/player/fullscreen/FullscreenComponentsPatch.kt b/patches/src/main/kotlin/app/revanced/patches/youtube/player/fullscreen/FullscreenComponentsPatch.kt index 2a56b37c6..11d7c5e3c 100644 --- a/patches/src/main/kotlin/app/revanced/patches/youtube/player/fullscreen/FullscreenComponentsPatch.kt +++ b/patches/src/main/kotlin/app/revanced/patches/youtube/player/fullscreen/FullscreenComponentsPatch.kt @@ -37,7 +37,6 @@ import app.revanced.patches.youtube.utils.youtubeControlsOverlayFingerprint import app.revanced.patches.youtube.video.information.hookBackgroundPlayVideoInformation import app.revanced.patches.youtube.video.information.videoEndMethod import app.revanced.patches.youtube.video.information.videoInformationPatch -import app.revanced.util.Utils.printWarn import app.revanced.util.addInstructionsAtControlFlowLabel import app.revanced.util.findMethodOrThrow import app.revanced.util.fingerprint.methodOrThrow @@ -313,8 +312,6 @@ val fullscreenComponentsPatch = bytecodePatch( } settingArray += "SETTINGS: KEEP_LANDSCAPE_MODE" - } else { - printWarn("\"Keep landscape mode\" is not supported in this version. Use YouTube 19.16.39 or earlier.") } // endregion