mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-06-12 21:27:43 +02:00
refactor(YouTube/Overlay buttons): rename class, method, and resource files to be more appropriaten
This commit is contained in:
@ -91,7 +91,7 @@ object OverlayButtonsPatch : BaseResourcePatch(
|
||||
"TimeOrderedPlaylist;",
|
||||
"Whitelists;"
|
||||
).forEach { className ->
|
||||
PlayerControlsPatch.hookOverlayButtons("$OVERLAY_BUTTONS_PATH/$className")
|
||||
PlayerControlsPatch.hookBottomControlButton("$OVERLAY_BUTTONS_PATH/$className")
|
||||
}
|
||||
|
||||
// Copy necessary resources for the overlay buttons.
|
||||
@ -101,7 +101,7 @@ object OverlayButtonsPatch : BaseResourcePatch(
|
||||
"drawable",
|
||||
"playlist_repeat_button.xml",
|
||||
"playlist_shuffle_button.xml",
|
||||
"revanced_repeat_icon.xml"
|
||||
"revanced_repeat_button.xml"
|
||||
)
|
||||
)
|
||||
|
||||
@ -122,12 +122,12 @@ object OverlayButtonsPatch : BaseResourcePatch(
|
||||
"quantum_ic_fullscreen_exit_white_24.png",
|
||||
"quantum_ic_fullscreen_grey600_24.png",
|
||||
"quantum_ic_fullscreen_white_24.png",
|
||||
"revanced_time_ordered_playlist_icon.png",
|
||||
"revanced_copy_icon.png",
|
||||
"revanced_copy_icon_with_time.png",
|
||||
"revanced_download_icon.png",
|
||||
"revanced_speed_icon.png",
|
||||
"revanced_whitelist_icon.png",
|
||||
"revanced_time_ordered_playlist_button.png",
|
||||
"revanced_copy_button.png",
|
||||
"revanced_copy_timestamp_button.png",
|
||||
"revanced_download_button.png",
|
||||
"revanced_speed_button.png",
|
||||
"revanced_whitelist_button.png",
|
||||
"yt_fill_arrow_repeat_white_24.png",
|
||||
"yt_outline_arrow_repeat_1_white_24.png",
|
||||
"yt_outline_arrow_shuffle_1_white_24.png",
|
||||
|
Reference in New Issue
Block a user