mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-06-12 13:17:46 +02:00
feat(YouTube Music/Video playback): add an option to disable toasts when changing the default values
This commit is contained in:
@ -115,10 +115,22 @@ object VideoPlaybackPatch : BaseBytecodePatch(
|
||||
"revanced_remember_playback_speed_last_selected",
|
||||
"true"
|
||||
)
|
||||
SettingsPatch.addSwitchPreference(
|
||||
CategoryType.VIDEO,
|
||||
"revanced_remember_playback_speed_last_selected_toast",
|
||||
"true",
|
||||
"revanced_remember_playback_speed_last_selected"
|
||||
)
|
||||
SettingsPatch.addSwitchPreference(
|
||||
CategoryType.VIDEO,
|
||||
"revanced_remember_video_quality_last_selected",
|
||||
"true"
|
||||
)
|
||||
SettingsPatch.addSwitchPreference(
|
||||
CategoryType.VIDEO,
|
||||
"revanced_remember_video_quality_last_selected_toast",
|
||||
"true",
|
||||
"revanced_remember_video_quality_last_selected"
|
||||
)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user