mirror of
https://github.com/revanced/revanced-integrations.git
synced 2024-11-17 17:39:36 +01:00
fix: rename DisableAutoCaptions patch (#91)
This commit is contained in:
parent
0ea0dbf7ce
commit
2890467ce1
@ -1,12 +0,0 @@
|
||||
package app.revanced.integrations.patches;
|
||||
|
||||
import app.revanced.integrations.settings.SettingsEnum;
|
||||
|
||||
public class DisableAutoCaptions {
|
||||
|
||||
//ToDo: Write Patch for it
|
||||
public static boolean autoCaptionsEnabled() {
|
||||
return SettingsEnum.AUTO_CAPTIONS_ENABLED.getBoolean();
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package app.revanced.integrations.patches;
|
||||
|
||||
import app.revanced.integrations.settings.SettingsEnum;
|
||||
|
||||
public class ForceDisableCaptions {
|
||||
|
||||
//ToDo: Write Patch for it
|
||||
public static boolean captionsEnabled() {
|
||||
return SettingsEnum.CAPTIONS_ENABLED.getBoolean();
|
||||
}
|
||||
|
||||
}
|
@ -61,7 +61,7 @@ public enum SettingsEnum {
|
||||
|
||||
//Misc. Settings
|
||||
AUTOREPEAT_BUTTON_SHOWN("revanced_pref_auto_repeat_button", false, ReturnType.BOOLEAN),
|
||||
AUTO_CAPTIONS_ENABLED("revanced_pref_auto_captions", false, ReturnType.BOOLEAN),
|
||||
CAPTIONS_ENABLED("revanced_pref_captions", false, ReturnType.BOOLEAN),
|
||||
PREFERRED_AUTO_REPEAT("revanced_pref_auto_repeat", true, ReturnType.BOOLEAN),
|
||||
USE_HDR_AUTO_BRIGHTNESS("revanced_pref_hdr_autobrightness", true, ReturnType.BOOLEAN),
|
||||
TAP_SEEKING_ENABLED("revanced_enable_tap_seeking", true, ReturnType.BOOLEAN),
|
||||
|
Loading…
Reference in New Issue
Block a user