mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-05-08 10:34:33 +02:00
better comments
This commit is contained in:
parent
2116b28beb
commit
eaf6bd9bd8
@ -85,7 +85,7 @@ class GeneralAdsPatch : ResourcePatch {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -35,7 +35,7 @@ class VideoAdsPatch : BytecodePatch() {
|
|||||||
context.updatePatchStatus("VideoAds")
|
context.updatePatchStatus("VideoAds")
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
|
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
|
@ -109,7 +109,7 @@ class OverlayButtonsResourcePatch : ResourcePatch {
|
|||||||
)
|
)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -28,7 +28,7 @@ class ButtonContainerPatch : ResourcePatch {
|
|||||||
override fun execute(context: ResourceContext): PatchResult {
|
override fun execute(context: ResourceContext): PatchResult {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -28,7 +28,7 @@ class CommentComponentPatch : ResourcePatch {
|
|||||||
override fun execute(context: ResourceContext): PatchResult {
|
override fun execute(context: ResourceContext): PatchResult {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -67,7 +67,7 @@ class MaterialYouPatch : ResourcePatch {
|
|||||||
)
|
)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
context.updatePatchStatusTheme("materialyou")
|
context.updatePatchStatusTheme("materialyou")
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ class PiPNotificationPatch : BytecodePatch(
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.updatePatchStatus("hide-pip-notification")
|
SettingsPatch.updatePatchStatus("hide-pip-notification")
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ class TooltipContentViewBytecodePatch : BytecodePatch(
|
|||||||
) ?: return TooltipContentViewFingerprint.toErrorResult()
|
) ?: return TooltipContentViewFingerprint.toErrorResult()
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.updatePatchStatus("hide-tooltip-content")
|
SettingsPatch.updatePatchStatus("hide-tooltip-content")
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ class FlyoutPanelPatch : ResourcePatch {
|
|||||||
override fun execute(context: ResourceContext): PatchResult {
|
override fun execute(context: ResourceContext): PatchResult {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -41,7 +41,7 @@ class OldQualityLayoutPatch : BytecodePatch(
|
|||||||
} ?: return QualityMenuViewInflateFingerprint.toErrorResult()
|
} ?: return QualityMenuViewInflateFingerprint.toErrorResult()
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -81,7 +81,7 @@ class HideEndscreenOverlayPatch : BytecodePatch() {
|
|||||||
|
|
||||||
if (errorIndex == -1) {
|
if (errorIndex == -1) {
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -57,7 +57,7 @@ class HideFilmstripOverlayPatch : BytecodePatch(
|
|||||||
it.removeInstruction(index)
|
it.removeInstruction(index)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -58,7 +58,7 @@ class HideFullscreenPanelsPatch : BytecodePatch(
|
|||||||
} ?: return FullscreenViewAdderFingerprint.toErrorResult()
|
} ?: return FullscreenViewAdderFingerprint.toErrorResult()
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -52,7 +52,7 @@ class HapticFeedBackPatch : BytecodePatch(
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -65,7 +65,7 @@ class AutoCaptionsPatch : BytecodePatch(
|
|||||||
} ?: return SubtitleTrackFingerprint.toErrorResult()
|
} ?: return SubtitleTrackFingerprint.toErrorResult()
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -45,7 +45,7 @@ class PlayerPopupPanelsPatch : BytecodePatch(
|
|||||||
} ?: return EngagementPanelControllerFingerprint.toErrorResult()
|
} ?: return EngagementPanelControllerFingerprint.toErrorResult()
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -72,7 +72,7 @@ class CrowdfundingBoxPatch : BytecodePatch() {
|
|||||||
|
|
||||||
if (errorIndex == -1) {
|
if (errorIndex == -1) {
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -76,7 +76,7 @@ class HeaderSwitchPatch : BytecodePatch() {
|
|||||||
|
|
||||||
if (errorIndex == -1) {
|
if (errorIndex == -1) {
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -52,7 +52,7 @@ class MixPlaylistsPatch : BytecodePatch(
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -44,7 +44,7 @@ class HideEmailAddressPatch : BytecodePatch(
|
|||||||
} ?: return AccountSwitcherAccessibilityLabelFingerprint.toErrorResult()
|
} ?: return AccountSwitcherAccessibilityLabelFingerprint.toErrorResult()
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -69,7 +69,7 @@ class CreateButtonRemoverPatch : BytecodePatch(
|
|||||||
injectHook(hook, createButtonInstructions.indexOf(instruction) + 2)
|
injectHook(hook, createButtonInstructions.indexOf(instruction) + 2)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -73,9 +73,8 @@ class ShortsButtonRemoverPatch : BytecodePatch(
|
|||||||
} ?: return PivotBarCreateButtonViewFingerprint.toErrorResult()
|
} ?: return PivotBarCreateButtonViewFingerprint.toErrorResult()
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
|
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
"PREFERENCE: LAYOUT_SETTINGS",
|
"PREFERENCE: LAYOUT_SETTINGS",
|
||||||
|
@ -107,7 +107,7 @@ class ShortsComponentPatch : BytecodePatch() {
|
|||||||
context.updatePatchStatus("ShortsComponent")
|
context.updatePatchStatus("ShortsComponent")
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -43,7 +43,7 @@ class HideSnackbarPatch : BytecodePatch(
|
|||||||
} ?: return HideSnackbarFingerprint.toErrorResult()
|
} ?: return HideSnackbarFingerprint.toErrorResult()
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -49,7 +49,7 @@ class HideShortsOnStartupPatch : BytecodePatch(
|
|||||||
} ?: return UserWasInShortsFingerprint.toErrorResult()
|
} ?: return UserWasInShortsFingerprint.toErrorResult()
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -75,7 +75,7 @@ class HideStoriesPatch : BytecodePatch() {
|
|||||||
|
|
||||||
if (errorIndex == -1) {
|
if (errorIndex == -1) {
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -61,7 +61,7 @@ class TabletMiniPlayerPatch : BytecodePatch(
|
|||||||
} ?: return MiniPlayerDimensionsCalculatorFingerprint.toErrorResult()
|
} ?: return MiniPlayerDimensionsCalculatorFingerprint.toErrorResult()
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -54,7 +54,7 @@ class WideSearchbarPatch : BytecodePatch(
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -68,7 +68,7 @@ class HideAutoplayButtonPatch : BytecodePatch(
|
|||||||
} ?: return LayoutConstructorFingerprint.toErrorResult()
|
} ?: return LayoutConstructorFingerprint.toErrorResult()
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -46,7 +46,7 @@ class HideCaptionsButtonBytecodePatch : BytecodePatch(
|
|||||||
} ?: return SubtitleButtonControllerFingerprint.toErrorResult()
|
} ?: return SubtitleButtonControllerFingerprint.toErrorResult()
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -39,7 +39,7 @@ class HideCastButtonPatch : BytecodePatch() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -56,7 +56,7 @@ class HideEndscreenCardsPatch : BytecodePatch(
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -41,7 +41,7 @@ class HideInfocardsPatch : BytecodePatch(
|
|||||||
} ?: return InfocardsIncognitoParentFingerprint.toErrorResult()
|
} ?: return InfocardsIncognitoParentFingerprint.toErrorResult()
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -28,7 +28,7 @@ class HideLiveChatButtonPatch : ResourcePatch {
|
|||||||
override fun execute(context: ResourceContext): PatchResult {
|
override fun execute(context: ResourceContext): PatchResult {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -28,7 +28,7 @@ class HideNextPrevButtonPatch : ResourcePatch {
|
|||||||
override fun execute(context: ResourceContext): PatchResult {
|
override fun execute(context: ResourceContext): PatchResult {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -88,7 +88,7 @@ class PlayerOverlayFilterPatch : BytecodePatch() {
|
|||||||
|
|
||||||
if (errorIndex == -1) {
|
if (errorIndex == -1) {
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -73,7 +73,7 @@ class SuggestedActionsPatch : BytecodePatch() {
|
|||||||
|
|
||||||
if (errorIndex == -1) {
|
if (errorIndex == -1) {
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -52,7 +52,7 @@ class HideChannelWatermarkBytecodePatch : BytecodePatch(
|
|||||||
} ?: return HideWatermarkParentFingerprint.toErrorResult()
|
} ?: return HideWatermarkParentFingerprint.toErrorResult()
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -78,7 +78,7 @@ class SeekbarColorPatch : BytecodePatch() {
|
|||||||
|
|
||||||
if (errorIndex == -1) {
|
if (errorIndex == -1) {
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -88,7 +88,7 @@ class SeekbarTappingPatch : BytecodePatch(
|
|||||||
} ?: return SeekbarTappingFingerprint.toErrorResult()
|
} ?: return SeekbarTappingFingerprint.toErrorResult()
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -61,7 +61,7 @@ class HideTimeAndSeekbarPatch : BytecodePatch(
|
|||||||
} ?: return TimeCounterParentFingerprint.toErrorResult()
|
} ?: return TimeCounterParentFingerprint.toErrorResult()
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -51,7 +51,7 @@ class ExternalBrowserPatch : BytecodePatch(
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -62,7 +62,7 @@ class ForceVP9CodecPatch : BytecodePatch(
|
|||||||
} ?: return Vp9PropsParentFingerprint.toErrorResult()
|
} ?: return Vp9PropsParentFingerprint.toErrorResult()
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -37,7 +37,7 @@ class LayoutSwitchPatch : BytecodePatch(
|
|||||||
) ?: return LayoutSwitchFingerprint.toErrorResult()
|
) ?: return LayoutSwitchFingerprint.toErrorResult()
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -39,7 +39,7 @@ class MicroGPatch : ResourcePatch {
|
|||||||
val packageName = PatchOptions.YouTubePackageName!!
|
val packageName = PatchOptions.YouTubePackageName!!
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -62,7 +62,7 @@ class MinimizedPlaybackPatch : BytecodePatch(
|
|||||||
PipControllerFingerprint.result?.hookShortsPiP()?:return PipControllerFingerprint.toErrorResult()
|
PipControllerFingerprint.result?.hookShortsPiP()?:return PipControllerFingerprint.toErrorResult()
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -45,7 +45,7 @@ class OldLayoutPatch : BytecodePatch(
|
|||||||
} ?: return OldLayoutFingerprint.toErrorResult()
|
} ?: return OldLayoutFingerprint.toErrorResult()
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -42,7 +42,7 @@ class OpenLinksDirectlyPatch : BytecodePatch(
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -97,7 +97,7 @@ class ReturnYouTubeDislikePatch : BytecodePatch(
|
|||||||
MainstreamVideoIdPatch.injectCall("$INTEGRATIONS_RYD_CLASS_DESCRIPTOR->newVideoLoaded(Ljava/lang/String;)V")
|
MainstreamVideoIdPatch.injectCall("$INTEGRATIONS_RYD_CLASS_DESCRIPTOR->newVideoLoaded(Ljava/lang/String;)V")
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add ReVanced Settings
|
* Add ReVanced Settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addReVancedPreference("ryd_settings")
|
SettingsPatch.addReVancedPreference("ryd_settings")
|
||||||
|
|
||||||
|
@ -95,7 +95,7 @@ class SponsorBlockResourcePatch : ResourcePatch {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add ReVanced Settings
|
* Add ReVanced Settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addReVancedPreference("sponsorblock_settings")
|
SettingsPatch.addReVancedPreference("sponsorblock_settings")
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ class SwipeControlsPatch : ResourcePatch {
|
|||||||
override fun execute(context: ResourceContext): PatchResult {
|
override fun execute(context: ResourceContext): PatchResult {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -50,7 +50,7 @@ class CustomVideoSpeedPatch : ResourcePatch {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -36,7 +36,7 @@ class VideoQualityPatch : ResourcePatch {
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
@ -28,7 +28,7 @@ class VideoSpeedPatch : ResourcePatch {
|
|||||||
override fun execute(context: ResourceContext): PatchResult {
|
override fun execute(context: ResourceContext): PatchResult {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
add settings
|
* Add settings
|
||||||
*/
|
*/
|
||||||
SettingsPatch.addPreference(
|
SettingsPatch.addPreference(
|
||||||
arrayOf(
|
arrayOf(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user