mirror of
https://github.com/revanced/revanced-patches
synced 2024-12-27 11:35:49 +01:00
fix(YouTube - Spoof video streams): Add missing preferred language preference to the settings
This commit is contained in:
parent
e84704ed98
commit
630633cf57
@ -22,7 +22,7 @@ public class BaseSettings {
|
|||||||
public static final IntegerSetting CHECK_ENVIRONMENT_WARNINGS_ISSUED = new IntegerSetting("revanced_check_environment_warnings_issued", 0, true, false);
|
public static final IntegerSetting CHECK_ENVIRONMENT_WARNINGS_ISSUED = new IntegerSetting("revanced_check_environment_warnings_issued", 0, true, false);
|
||||||
|
|
||||||
public static final BooleanSetting SPOOF_VIDEO_STREAMS = new BooleanSetting("revanced_spoof_video_streams", TRUE, true, "revanced_spoof_video_streams_user_dialog_message");
|
public static final BooleanSetting SPOOF_VIDEO_STREAMS = new BooleanSetting("revanced_spoof_video_streams", TRUE, true, "revanced_spoof_video_streams_user_dialog_message");
|
||||||
public static final EnumSetting<AudioStreamLanguage> SPOOF_VIDEO_STREAMS_LANGUAGE = new EnumSetting<>("revanced_spoof_video_streams_language", AudioStreamLanguage.DEFAULT);
|
public static final EnumSetting<AudioStreamLanguage> SPOOF_VIDEO_STREAMS_LANGUAGE = new EnumSetting<>("revanced_spoof_video_streams_language", AudioStreamLanguage.DEFAULT, parent(SPOOF_VIDEO_STREAMS));
|
||||||
public static final BooleanSetting SPOOF_VIDEO_STREAMS_IOS_FORCE_AVC = new BooleanSetting("revanced_spoof_video_streams_ios_force_avc", FALSE, true,
|
public static final BooleanSetting SPOOF_VIDEO_STREAMS_IOS_FORCE_AVC = new BooleanSetting("revanced_spoof_video_streams_ios_force_avc", FALSE, true,
|
||||||
"revanced_spoof_video_streams_ios_force_avc_user_dialog_message", new ForceiOSAVCAvailability());
|
"revanced_spoof_video_streams_ios_force_avc_user_dialog_message", new ForceiOSAVCAvailability());
|
||||||
public static final EnumSetting<ClientType> SPOOF_VIDEO_STREAMS_CLIENT_TYPE = new EnumSetting<>("revanced_spoof_video_streams_client", ClientType.ANDROID_VR, true, parent(SPOOF_VIDEO_STREAMS));
|
public static final EnumSetting<ClientType> SPOOF_VIDEO_STREAMS_CLIENT_TYPE = new EnumSetting<>("revanced_spoof_video_streams_client", ClientType.ANDROID_VR, true, parent(SPOOF_VIDEO_STREAMS));
|
||||||
|
@ -40,6 +40,10 @@ val spoofVideoStreamsPatch = spoofVideoStreamsPatch({
|
|||||||
"revanced_spoof_video_streams_client",
|
"revanced_spoof_video_streams_client",
|
||||||
summaryKey = null,
|
summaryKey = null,
|
||||||
),
|
),
|
||||||
|
ListPreference(
|
||||||
|
"revanced_spoof_video_streams_language",
|
||||||
|
summaryKey = null
|
||||||
|
),
|
||||||
SwitchPreference("revanced_spoof_video_streams_ios_force_avc"),
|
SwitchPreference("revanced_spoof_video_streams_ios_force_avc"),
|
||||||
NonInteractivePreference("revanced_spoof_video_streams_about_android_vr"),
|
NonInteractivePreference("revanced_spoof_video_streams_about_android_vr"),
|
||||||
NonInteractivePreference("revanced_spoof_video_streams_about_ios"),
|
NonInteractivePreference("revanced_spoof_video_streams_about_ios"),
|
||||||
|
Loading…
Reference in New Issue
Block a user