Skip to content

Commit

Permalink
feat(YouTube Music - Video playback): Add an option to disable toasts…
Browse files Browse the repository at this point in the history
… when changing the default values
  • Loading branch information
inotia00 authored and Francesco146 committed Aug 28, 2024
1 parent 26ff170 commit a663655
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
}
}

0 comments on commit a663655

Please sign in to comment.