Skip to content

Commit cf22641

Browse files
committed
feat(YouTube Music - Spoof client): Excluded by default inotia00/ReVanced_Extended#2832
1 parent d4af0f1 commit cf22641

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

extensions/shared/src/main/java/app/revanced/extension/shared/settings/BaseSettings.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public class BaseSettings {
3030
* These settings are used by YouTube Music.
3131
* Some patches are in a shared path, so they are declared here.
3232
*/
33-
public static final BooleanSetting SPOOF_CLIENT = new BooleanSetting("revanced_spoof_client", TRUE, true);
33+
public static final BooleanSetting SPOOF_CLIENT = new BooleanSetting("revanced_spoof_client", FALSE, true);
3434
public static final EnumSetting<MusicAppClient.ClientType> SPOOF_CLIENT_TYPE = new EnumSetting<>("revanced_spoof_client_type", MusicAppClient.ClientType.IOS_MUSIC_6_21, true);
3535

3636
/**

patches/src/main/kotlin/app/revanced/patches/music/utils/fix/client/SpoofClientPatch.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ private const val CLIENT_INFO_CLASS_DESCRIPTOR =
6464
@Suppress("unused")
6565
val spoofClientPatch = bytecodePatch(
6666
SPOOF_CLIENT.title,
67-
SPOOF_CLIENT.summary
67+
SPOOF_CLIENT.summary,
68+
false,
6869
) {
6970
compatibleWith(COMPATIBLE_PACKAGE)
7071

@@ -359,7 +360,7 @@ val spoofClientPatch = bytecodePatch(
359360
addSwitchPreference(
360361
CategoryType.MISC,
361362
"revanced_spoof_client",
362-
"true"
363+
"false"
363364
)
364365
addPreferenceWithIntent(
365366
CategoryType.MISC,

0 commit comments

Comments
 (0)