From 869f6a82900218fc83af823c0a8868d6ef03fa45 Mon Sep 17 00:00:00 2001 From: inotia00 Date: Thu, 23 Feb 2023 00:58:11 +0900 Subject: [PATCH] add missing resources --- .../youtube/misc/resourceid/patch/SharedResourceIdPatch.kt | 2 ++ src/main/resources/youtube/settings/host/values/strings.xml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/src/main/kotlin/app/revanced/patches/youtube/misc/resourceid/patch/SharedResourceIdPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/misc/resourceid/patch/SharedResourceIdPatch.kt index 4b7288cc9..591932017 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/misc/resourceid/patch/SharedResourceIdPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/misc/resourceid/patch/SharedResourceIdPatch.kt @@ -35,6 +35,7 @@ class SharedResourcdIdPatch : ResourcePatch { var layoutVideo: Long = -1 var liveChatButtonId: Long = -1 var scrubbingLabelId: Long = -1 + var timeStampsContainerLabelId: Long = -1 var tooltipLabelId: Long = -1 var videoqualityfragmentLabelId: Long = -1 } @@ -64,6 +65,7 @@ class SharedResourcdIdPatch : ResourcePatch { layoutVideo = findSharedResourceId("layout", "endscreen_element_layout_video") liveChatButtonId = findSharedResourceId("id", "live_chat_overlay_button") scrubbingLabelId = findSharedResourceId("dimen", "vertical_touch_offset_to_enter_fine_scrubbing") + timeStampsContainerLabelId = findSharedResourceId("id", "timestamps_container") tooltipLabelId = findSharedResourceId("layout", "tooltip_content_view") videoqualityfragmentLabelId = findSharedResourceId("layout", "video_quality_bottom_sheet_list_fragment_title") diff --git a/src/main/resources/youtube/settings/host/values/strings.xml b/src/main/resources/youtube/settings/host/values/strings.xml index dcae4057b..d4b248de7 100644 --- a/src/main/resources/youtube/settings/host/values/strings.xml +++ b/src/main/resources/youtube/settings/host/values/strings.xml @@ -314,6 +314,9 @@ Is it ready to submit?" Channel watermark is shown Channel watermark is hidden Hide channel watermark + Collapse button is shown + Collapse button is hidden + Hide collapse button Hides the comments section or component Hide comments component Comment section is shown