fix(YouTube Music/Spoof app version): spoofing the app version also enables old style library shelves

This commit is contained in:
inotia00 2024-03-23 19:10:29 +09:00
parent ab1447853d
commit 0f7ddf8afe

View File

@ -3,7 +3,6 @@ package app.revanced.patches.music.misc.spoofappversion
import app.revanced.patcher.data.BytecodeContext import app.revanced.patcher.data.BytecodeContext
import app.revanced.patcher.patch.annotation.CompatiblePackage import app.revanced.patcher.patch.annotation.CompatiblePackage
import app.revanced.patcher.patch.annotation.Patch import app.revanced.patcher.patch.annotation.Patch
import app.revanced.patches.music.general.oldstylelibraryshelf.OldStyleLibraryShelfPatch
import app.revanced.patches.music.utils.integrations.Constants.MISC_PATH import app.revanced.patches.music.utils.integrations.Constants.MISC_PATH
import app.revanced.patches.music.utils.settings.CategoryType import app.revanced.patches.music.utils.settings.CategoryType
import app.revanced.patches.music.utils.settings.SettingsPatch import app.revanced.patches.music.utils.settings.SettingsPatch
@ -15,10 +14,7 @@ import app.revanced.util.copyXmlNode
name = "Spoof app version", name = "Spoof app version",
description = "Adds options to spoof the YouTube Music client version. " + description = "Adds options to spoof the YouTube Music client version. " +
"This can remove the radio mode restriction in Canadian regions or disable real-time lyrics.", "This can remove the radio mode restriction in Canadian regions or disable real-time lyrics.",
dependencies = [ dependencies = [SettingsPatch::class],
OldStyleLibraryShelfPatch::class,
SettingsPatch::class
],
compatiblePackages = [ compatiblePackages = [
CompatiblePackage( CompatiblePackage(
"com.google.android.apps.youtube.music", "com.google.android.apps.youtube.music",