feat(youtube): import / export of revanced settings (#2077)
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
This commit is contained in:
committed by
GitHub
co-authored by
oSumAtrIX
parent
0555cdc54f
commit
5ff3215132
+4
-5
@@ -33,11 +33,10 @@ class AutoCaptionsPatch : BytecodePatch(
|
||||
override fun execute(context: BytecodeContext): PatchResult {
|
||||
SettingsPatch.PreferenceScreen.LAYOUT.addPreferences(
|
||||
SwitchPreference(
|
||||
"revanced_autocaptions_enabled",
|
||||
StringResource("revanced_autocaptions_enabled_title", "Disable auto captions"),
|
||||
false,
|
||||
StringResource("revanced_autocaptions_summary_on", "Auto captions are disabled"),
|
||||
StringResource("revanced_autocaptions_summary_off", "Auto captions are enabled")
|
||||
"revanced_auto_captions",
|
||||
StringResource("revanced_auto_captions_title", "Disable auto captions"),
|
||||
StringResource("revanced_auto_captions_summary_on", "Auto captions are disabled"),
|
||||
StringResource("revanced_auto_captions_summary_off", "Auto captions are enabled")
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user