fix(youtube/custom-video-speed): don not implicitly depend on old-video-quality-menu patch

This commit is contained in:
oSumAtrIX
2023-07-09 16:15:55 +02:00
parent 0d96921226
commit 9b2d89cda5
4 changed files with 26 additions and 7 deletions
@@ -29,14 +29,10 @@ class OldVideoQualityMenuResourcePatch : ResourcePatch {
// Used for the old type of the video quality menu.
videoQualityBottomSheetListFragmentTitle = findResource("video_quality_bottom_sheet_list_fragment_title")
// Used for the new type of the video quality menu.
bottomSheetMargins = findResource("bottom_sheet_margins")
return PatchResultSuccess()
}
internal companion object {
var videoQualityBottomSheetListFragmentTitle = -1L
var bottomSheetMargins = -1L
}
}