mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-06-12 13:17:46 +02:00
fix(YouTube/Settings): patch names in Patches Information section do not match
This commit is contained in:
@ -119,7 +119,7 @@ object GeneralAdsPatch : ResourcePatch() {
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-general-ads")
|
||||
SettingsPatch.updatePatchStatus("Hide general ads")
|
||||
|
||||
}
|
||||
}
|
@ -48,7 +48,7 @@ object VideoAdsPatch : AbstractAdsPatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-video-ads")
|
||||
SettingsPatch.updatePatchStatus("Hide video ads")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -106,6 +106,6 @@ object AlternativeThumbnailsPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("alternative-thumbnails")
|
||||
SettingsPatch.updatePatchStatus("Alternative thumbnails")
|
||||
}
|
||||
}
|
||||
|
@ -51,7 +51,7 @@ object ButtonContainerPatch : BytecodePatch() {
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-button-container")
|
||||
SettingsPatch.updatePatchStatus("Hide button container")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -51,7 +51,7 @@ object CommentComponentPatch : BytecodePatch() {
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-comment-component")
|
||||
SettingsPatch.updatePatchStatus("Hide comment component")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -107,7 +107,7 @@ object FeedFlyoutPanelPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-feed-flyout-panel")
|
||||
SettingsPatch.updatePatchStatus("Hide feed flyout panel")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -98,7 +98,7 @@ object OldQualityLayoutPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("enable-old-quality-layout")
|
||||
SettingsPatch.updatePatchStatus("Enable old quality layout")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -81,7 +81,7 @@ object PlayerFlyoutPanelPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-player-flyout-panel")
|
||||
SettingsPatch.updatePatchStatus("Hide player flyout panel")
|
||||
|
||||
}
|
||||
|
||||
|
@ -77,7 +77,7 @@ object HideAutoplayPreviewPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-autoplay-preview")
|
||||
SettingsPatch.updatePatchStatus("Hide autoplay preview")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -77,7 +77,7 @@ object CompactControlsOverlayPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("enable-compact-controls-overlay")
|
||||
SettingsPatch.updatePatchStatus("Enable compact controls overlay")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -68,7 +68,7 @@ object HideEndScreenOverlayPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-endscreen-overlay")
|
||||
SettingsPatch.updatePatchStatus("Hide end screen overlay")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -121,7 +121,7 @@ object HideFullscreenPanelsPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-fullscreen-panels")
|
||||
SettingsPatch.updatePatchStatus("Hide fullscreen panels")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -66,7 +66,7 @@ object LandScapeModePatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("disable-landscape-mode")
|
||||
SettingsPatch.updatePatchStatus("Disable landscape mode")
|
||||
|
||||
}
|
||||
|
||||
|
@ -52,7 +52,7 @@ object QuickActionsPatch : BytecodePatch() {
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-quick-actions")
|
||||
SettingsPatch.updatePatchStatus("Hide quick actions")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -82,7 +82,7 @@ object AccountMenuPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-account-menu")
|
||||
SettingsPatch.updatePatchStatus("Hide account menu")
|
||||
|
||||
}
|
||||
}
|
@ -93,7 +93,7 @@ object AutoCaptionsPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("disable-auto-captions")
|
||||
SettingsPatch.updatePatchStatus("Disable auto captions")
|
||||
|
||||
}
|
||||
|
||||
|
@ -67,7 +67,7 @@ object PlayerPopupPanelsPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-auto-player-popup-panels")
|
||||
SettingsPatch.updatePatchStatus("Hide auto player popup panels")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -83,7 +83,7 @@ object CategoryBarPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-category-bar")
|
||||
SettingsPatch.updatePatchStatus("Hide category bar")
|
||||
|
||||
}
|
||||
|
||||
|
@ -68,7 +68,7 @@ object ChannelListSubMenuPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-channel-avatar-section")
|
||||
SettingsPatch.updatePatchStatus("Hide channel avatar section")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -68,7 +68,7 @@ object CrowdfundingBoxPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-crowdfunding-box")
|
||||
SettingsPatch.updatePatchStatus("Hide crowdfunding box")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -50,7 +50,7 @@ object DescriptionComponentsPatch : BytecodePatch() {
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-description-components")
|
||||
SettingsPatch.updatePatchStatus("Hide description components")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -70,7 +70,7 @@ object FloatingMicrophonePatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-floating-microphone")
|
||||
SettingsPatch.updatePatchStatus("Hide floating microphone")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -70,7 +70,7 @@ object HideHandlePatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-handle")
|
||||
SettingsPatch.updatePatchStatus("Hide handle")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -79,7 +79,7 @@ object HeaderSwitchPatch : BytecodePatch() {
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("header-switch")
|
||||
SettingsPatch.updatePatchStatus("Header switch")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -67,7 +67,7 @@ object LatestVideosButtonPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-latest-videos-button")
|
||||
SettingsPatch.updatePatchStatus("Hide latest videos button")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -58,7 +58,7 @@ object LayoutComponentsPatch : BytecodePatch() {
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-layout-components")
|
||||
SettingsPatch.updatePatchStatus("Hide layout components")
|
||||
|
||||
context.updatePatchStatus("LayoutComponent")
|
||||
|
||||
|
@ -88,7 +88,7 @@ object GradientLoadingScreenPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("enable-gradient-loading-screen")
|
||||
SettingsPatch.updatePatchStatus("Enable gradient loading screen")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -66,7 +66,7 @@ object LoadMoreButtonPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-load-more-button")
|
||||
SettingsPatch.updatePatchStatus("Hide load more button")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -135,7 +135,7 @@ object MixPlaylistsPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-mix-playlists")
|
||||
SettingsPatch.updatePatchStatus("Hide mix playlists")
|
||||
|
||||
}
|
||||
|
||||
|
@ -65,7 +65,7 @@ object HideSnackBarPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-snack-bar")
|
||||
SettingsPatch.updatePatchStatus("Hide snack bar")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -103,7 +103,7 @@ object SuggestionsShelfPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-suggestions-shelf")
|
||||
SettingsPatch.updatePatchStatus("Hide suggestions shelf")
|
||||
|
||||
}
|
||||
|
||||
|
@ -95,7 +95,7 @@ object TabletMiniPlayerPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("enable-tablet-mini-player")
|
||||
SettingsPatch.updatePatchStatus("Enable tablet mini player")
|
||||
|
||||
}
|
||||
|
||||
|
@ -82,7 +82,7 @@ object TrendingSearchesPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-trending-searches")
|
||||
SettingsPatch.updatePatchStatus("Hide trending searches")
|
||||
|
||||
}
|
||||
|
||||
|
@ -83,7 +83,7 @@ object WideSearchBarPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("enable-wide-search-bar")
|
||||
SettingsPatch.updatePatchStatus("Enable wide search bar")
|
||||
|
||||
}
|
||||
|
||||
|
@ -60,7 +60,7 @@ object DoubleTapOverlayBackgroundPatch : ResourcePatch() {
|
||||
}
|
||||
}
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-double-tap-overlay-filter")
|
||||
SettingsPatch.updatePatchStatus("Hide double tap overlay filter")
|
||||
|
||||
}
|
||||
|
||||
|
@ -64,7 +64,7 @@ object DoubleTapLengthPatch : ResourcePatch() {
|
||||
context.addEntryValues(arrayPath, lengthElements[index], entriesName)
|
||||
}
|
||||
|
||||
SettingsPatch.updatePatchStatus("custom-double-tap-length")
|
||||
SettingsPatch.updatePatchStatus("Custom double tap length")
|
||||
|
||||
}
|
||||
|
||||
|
@ -68,7 +68,7 @@ object PremiumHeadingPatch : ResourcePatch() {
|
||||
"HEADER_SWITCH",
|
||||
"FORCE_PREMIUM_HEADER"
|
||||
).replace(
|
||||
"header-switch",
|
||||
"Header switch",
|
||||
"force-premium-heading"
|
||||
)
|
||||
)
|
||||
|
@ -74,7 +74,7 @@ object PiPNotificationPatch : BytecodePatch(
|
||||
/**
|
||||
* Add settings
|
||||
*/
|
||||
SettingsPatch.updatePatchStatus("hide-pip-notification")
|
||||
SettingsPatch.updatePatchStatus("Disable pip notification")
|
||||
|
||||
}
|
||||
}
|
@ -51,7 +51,7 @@ object TooltipContentViewPatch : BytecodePatch(
|
||||
/**
|
||||
* Add settings
|
||||
*/
|
||||
SettingsPatch.updatePatchStatus("hide-tooltip-content")
|
||||
SettingsPatch.updatePatchStatus("Hide tooltip content")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -81,7 +81,7 @@ object PowerSaveModePatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("bypass-ambient-mode-restrictions")
|
||||
SettingsPatch.updatePatchStatus("Bypass ambient mode restrictions")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -47,7 +47,7 @@ object ForceOpusCodecPatch : AbstractOpusCodecsPatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("force-opus-codec")
|
||||
SettingsPatch.updatePatchStatus("Force OPUS codec")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -121,7 +121,7 @@ object ForceVideoCodecPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("force-video-codec")
|
||||
SettingsPatch.updatePatchStatus("Force video codec")
|
||||
|
||||
}
|
||||
|
||||
|
@ -44,7 +44,7 @@ object DebuggingPatch : ResourcePatch() {
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("enable-debug-logging")
|
||||
SettingsPatch.updatePatchStatus("Enable debug logging")
|
||||
|
||||
|
||||
}
|
||||
|
@ -79,7 +79,7 @@ object ExternalBrowserPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("enable-external-browser")
|
||||
SettingsPatch.updatePatchStatus("Enable external browser")
|
||||
|
||||
}
|
||||
}
|
@ -73,7 +73,7 @@ object LanguageSelectorPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("enable-language-switch")
|
||||
SettingsPatch.updatePatchStatus("Enable language switch")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -105,7 +105,7 @@ object LayoutSwitchPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("layout-switch")
|
||||
SettingsPatch.updatePatchStatus("Layout switch")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -72,7 +72,7 @@ object OpenLinksDirectlyPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("enable-open-links-directly")
|
||||
SettingsPatch.updatePatchStatus("Enable open links directly")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -65,7 +65,7 @@ object QUICProtocolPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("disable-quic-protocol")
|
||||
SettingsPatch.updatePatchStatus("Disable QUIC protocol")
|
||||
|
||||
}
|
||||
}
|
@ -115,7 +115,7 @@ object NewSplashAnimationPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("enable-new-splash-animation")
|
||||
SettingsPatch.updatePatchStatus("Enable new splash animation")
|
||||
|
||||
}
|
||||
|
||||
|
@ -54,7 +54,7 @@ object SpoofAppVersionPatch : AbstractVersionSpoofPatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("spoof-app-version")
|
||||
SettingsPatch.updatePatchStatus("Spoof app version")
|
||||
|
||||
}
|
||||
}
|
@ -37,7 +37,7 @@ object TranslationsPatch : ResourcePatch() {
|
||||
|
||||
context.addTranslations("youtube", LANGUAGE_LIST)
|
||||
|
||||
SettingsPatch.updatePatchStatus("translations")
|
||||
SettingsPatch.updatePatchStatus("Translations")
|
||||
|
||||
}
|
||||
|
||||
|
@ -83,7 +83,7 @@ object ChangeHomePagePatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("change-homepage")
|
||||
SettingsPatch.updatePatchStatus("Change homepage")
|
||||
|
||||
}
|
||||
}
|
@ -70,7 +70,7 @@ object NavigationLabelPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-navigation-label")
|
||||
SettingsPatch.updatePatchStatus("Hide navigation label")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -132,7 +132,7 @@ object NavigationButtonsPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-navigation-buttons")
|
||||
SettingsPatch.updatePatchStatus("Hide navigation buttons")
|
||||
|
||||
}
|
||||
|
||||
|
@ -64,7 +64,7 @@ object TabletNavigationBarPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("enable-tablet-navigation-bar")
|
||||
SettingsPatch.updatePatchStatus("Enable tablet navigation bar")
|
||||
|
||||
}
|
||||
|
||||
|
@ -172,7 +172,7 @@ object OverlayButtonsPatch : ResourcePatch() {
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("overlay-buttons")
|
||||
SettingsPatch.updatePatchStatus("Overlay buttons")
|
||||
|
||||
}
|
||||
}
|
@ -78,7 +78,7 @@ object HideAutoplayButtonPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-autoplay-button")
|
||||
SettingsPatch.updatePatchStatus("Hide autoplay button")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -75,7 +75,7 @@ object HideCaptionsButtonBytecodePatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-captions-button")
|
||||
SettingsPatch.updatePatchStatus("Hide captions button")
|
||||
|
||||
}
|
||||
}
|
@ -60,7 +60,7 @@ object HideCastButtonPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-cast-button")
|
||||
SettingsPatch.updatePatchStatus("Hide cast button")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -49,7 +49,7 @@ object HideCollapseButtonPatch : ResourcePatch() {
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-collapse-button")
|
||||
SettingsPatch.updatePatchStatus("Hide collapse button")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -83,7 +83,7 @@ object HideEndScreenCardsPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-endscreen-cards")
|
||||
SettingsPatch.updatePatchStatus("Hide end screen cards")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -132,7 +132,7 @@ object HideFilmstripOverlayPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-filmstrip-overlay")
|
||||
SettingsPatch.updatePatchStatus("Hide filmstrip overlay")
|
||||
|
||||
}
|
||||
|
||||
|
@ -71,7 +71,7 @@ object HapticFeedBackPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("disable-haptic-feedback")
|
||||
SettingsPatch.updatePatchStatus("Disable haptic feedback")
|
||||
|
||||
}
|
||||
|
||||
|
@ -73,7 +73,7 @@ object HideInfoCardsPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-info-cards")
|
||||
SettingsPatch.updatePatchStatus("Hide info cards")
|
||||
|
||||
}
|
||||
}
|
@ -70,7 +70,7 @@ object HideMusicButtonPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-music-button")
|
||||
SettingsPatch.updatePatchStatus("Hide music button")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -61,7 +61,7 @@ object HidePlayerButtonBackgroundPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-player-button-background")
|
||||
SettingsPatch.updatePatchStatus("Hide player button background")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -76,7 +76,7 @@ object PlayerOverlayFilterPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-player-overlay-filter")
|
||||
SettingsPatch.updatePatchStatus("Hide player overlay filter")
|
||||
|
||||
}
|
||||
}
|
@ -48,7 +48,7 @@ object HidePreviousNextButtonPatch : BytecodePatch() {
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-previous-next-button")
|
||||
SettingsPatch.updatePatchStatus("Hide previous next button")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -69,7 +69,7 @@ object SeekMessagePatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-seek-message")
|
||||
SettingsPatch.updatePatchStatus("Hide seek message")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -115,7 +115,7 @@ object SpeedOverlayPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("custom-speed-overlay")
|
||||
SettingsPatch.updatePatchStatus("Custom speed overlay")
|
||||
|
||||
}
|
||||
|
||||
|
@ -74,7 +74,7 @@ object SuggestedActionsPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-suggested-actions")
|
||||
SettingsPatch.updatePatchStatus("Hide suggested actions")
|
||||
|
||||
}
|
||||
|
||||
|
@ -89,7 +89,7 @@ object SuggestedVideoOverlayPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-suggested-video-overlay")
|
||||
SettingsPatch.updatePatchStatus("Hide suggested video overlay")
|
||||
|
||||
}
|
||||
|
||||
|
@ -84,7 +84,7 @@ object HideChannelWatermarkBytecodePatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-channel-watermark")
|
||||
SettingsPatch.updatePatchStatus("Hide channel watermark")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ object AppendTimeStampInformationPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("append-timestamps-information")
|
||||
SettingsPatch.updatePatchStatus("Append time stamps information")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -115,7 +115,7 @@ object SeekbarColorPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("custom-seekbar-color")
|
||||
SettingsPatch.updatePatchStatus("Custom seekbar color")
|
||||
|
||||
}
|
||||
|
||||
|
@ -74,7 +74,7 @@ object HideSeekbarPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-seekbar")
|
||||
SettingsPatch.updatePatchStatus("Hide seekbar")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -80,7 +80,7 @@ object SeekbarTappingPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("enable-seekbar-tapping")
|
||||
SettingsPatch.updatePatchStatus("Enable seekbar tapping")
|
||||
|
||||
}
|
||||
|
||||
|
@ -66,7 +66,7 @@ object NewThumbnailPreviewPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("enable-new-thumbnail-preview")
|
||||
SettingsPatch.updatePatchStatus("Enable new thumbnail preview")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -73,7 +73,7 @@ object HideTimeStampPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-time-stamp")
|
||||
SettingsPatch.updatePatchStatus("Hide time stamp")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -66,7 +66,7 @@ object NewCommentPopupPanelsPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("enable-new-comment-popup-panels")
|
||||
SettingsPatch.updatePatchStatus("Enable new comment popup panels")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -261,7 +261,7 @@ object ShortsComponentPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("hide-shorts-component")
|
||||
SettingsPatch.updatePatchStatus("Hide shorts components")
|
||||
|
||||
}
|
||||
|
||||
|
@ -15,7 +15,7 @@ import app.revanced.util.integrations.Constants.SHORTS
|
||||
import com.android.tools.smali.dexlib2.iface.instruction.OneRegisterInstruction
|
||||
|
||||
@Patch(
|
||||
name = "Disable Shorts on startup",
|
||||
name = "Disable shorts on startup",
|
||||
description = "Disables playing YouTube Shorts when launching YouTube.",
|
||||
dependencies = [SettingsPatch::class],
|
||||
compatiblePackages = [
|
||||
@ -73,7 +73,7 @@ object DisableShortsOnStartupPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("disable-startup-shorts-player")
|
||||
SettingsPatch.updatePatchStatus("Disable shorts on startup")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -108,7 +108,7 @@ object SwipeControlsPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("swipe-controls")
|
||||
SettingsPatch.updatePatchStatus("Swipe controls")
|
||||
|
||||
contexts.copyResources(
|
||||
"youtube/swipecontrols",
|
||||
|
@ -194,6 +194,8 @@ object SpoofPlayerParameterPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("Spoof player parameters")
|
||||
|
||||
}
|
||||
|
||||
private const val INTEGRATIONS_CLASS_DESCRIPTOR =
|
||||
|
@ -61,7 +61,7 @@ object MicroGPatch : ResourcePatch() {
|
||||
"PREFERENCE: MICROG_SETTINGS"
|
||||
)
|
||||
)
|
||||
SettingsPatch.updatePatchStatus("microg-support")
|
||||
SettingsPatch.updatePatchStatus("MicroG support")
|
||||
|
||||
// update settings fragment
|
||||
context.patchSetting(
|
||||
|
@ -200,7 +200,7 @@ object ReturnYouTubeDislikePatch : BytecodePatch(
|
||||
*/
|
||||
SettingsPatch.addReVancedPreference("ryd_settings")
|
||||
|
||||
SettingsPatch.updatePatchStatus("return-youtube-dislike")
|
||||
SettingsPatch.updatePatchStatus("Return YouTube Dislike")
|
||||
|
||||
}
|
||||
|
||||
|
@ -113,7 +113,7 @@ object SponsorBlockPatch : ResourcePatch() {
|
||||
*/
|
||||
SettingsPatch.addReVancedPreference("sponsorblock_settings")
|
||||
|
||||
SettingsPatch.updatePatchStatus("sponsorblock")
|
||||
SettingsPatch.updatePatchStatus("SponsorBlock")
|
||||
|
||||
}
|
||||
}
|
@ -53,6 +53,6 @@ object CustomPlaybackSpeedPatch : AbstractCustomPlaybackSpeedPatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("custom-playback-speed")
|
||||
SettingsPatch.updatePatchStatus("Custom playback speed")
|
||||
}
|
||||
}
|
||||
|
@ -71,7 +71,7 @@ object DisableHdrVideoPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("disable-hdr-video")
|
||||
SettingsPatch.updatePatchStatus("Disable hdr video")
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -117,7 +117,7 @@ object VideoQualityPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("default-video-quality")
|
||||
SettingsPatch.updatePatchStatus("Default video quality")
|
||||
|
||||
}
|
||||
|
||||
|
@ -83,7 +83,7 @@ object PlaybackSpeedPatch : BytecodePatch(
|
||||
)
|
||||
)
|
||||
|
||||
SettingsPatch.updatePatchStatus("default-playback-speed")
|
||||
SettingsPatch.updatePatchStatus("Default playback speed")
|
||||
|
||||
}
|
||||
|
||||
|
@ -67,15 +67,15 @@ internal object ResourceHelper {
|
||||
}
|
||||
|
||||
internal fun ResourceContext.updatePatchStatusLabel(appName: String) {
|
||||
updatePatchStatusSettings("labels", appName)
|
||||
updatePatchStatusSettings("Labels", appName)
|
||||
}
|
||||
|
||||
internal fun ResourceContext.updatePatchStatusIcon(iconName: String) {
|
||||
updatePatchStatusSettings("icons", "@string/revanced_icons_$iconName")
|
||||
updatePatchStatusSettings("Icons", "@string/revanced_icons_$iconName")
|
||||
}
|
||||
|
||||
internal fun ResourceContext.updatePatchStatusTheme(themeName: String) {
|
||||
updatePatchStatusSettings("themes", "@string/revanced_themes_$themeName")
|
||||
updatePatchStatusSettings("Themes", "@string/revanced_themes_$themeName")
|
||||
}
|
||||
|
||||
private fun ResourceContext.updatePatchStatusSettings(
|
||||
|
Reference in New Issue
Block a user