mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-06-12 05:07:41 +02:00
better comments
This commit is contained in:
@ -28,7 +28,7 @@ class ButtonContainerPatch : ResourcePatch {
|
||||
override fun execute(context: ResourceContext): PatchResult {
|
||||
|
||||
/*
|
||||
add settings
|
||||
* Add settings
|
||||
*/
|
||||
SettingsPatch.addPreference(
|
||||
arrayOf(
|
||||
|
@ -28,7 +28,7 @@ class CommentComponentPatch : ResourcePatch {
|
||||
override fun execute(context: ResourceContext): PatchResult {
|
||||
|
||||
/*
|
||||
add settings
|
||||
* Add settings
|
||||
*/
|
||||
SettingsPatch.addPreference(
|
||||
arrayOf(
|
||||
|
@ -67,7 +67,7 @@ class MaterialYouPatch : ResourcePatch {
|
||||
)
|
||||
|
||||
/*
|
||||
add settings
|
||||
* Add settings
|
||||
*/
|
||||
context.updatePatchStatusTheme("materialyou")
|
||||
|
||||
|
@ -40,8 +40,8 @@ class PiPNotificationPatch : BytecodePatch(
|
||||
}
|
||||
|
||||
/*
|
||||
add settings
|
||||
*/
|
||||
* Add settings
|
||||
*/
|
||||
SettingsPatch.updatePatchStatus("hide-pip-notification")
|
||||
|
||||
return PatchResultSuccess()
|
||||
|
@ -40,8 +40,8 @@ class TooltipContentViewBytecodePatch : BytecodePatch(
|
||||
) ?: return TooltipContentViewFingerprint.toErrorResult()
|
||||
|
||||
/*
|
||||
add settings
|
||||
*/
|
||||
* Add settings
|
||||
*/
|
||||
SettingsPatch.updatePatchStatus("hide-tooltip-content")
|
||||
|
||||
return PatchResultSuccess()
|
||||
|
@ -28,7 +28,7 @@ class FlyoutPanelPatch : ResourcePatch {
|
||||
override fun execute(context: ResourceContext): PatchResult {
|
||||
|
||||
/*
|
||||
add settings
|
||||
* Add settings
|
||||
*/
|
||||
SettingsPatch.addPreference(
|
||||
arrayOf(
|
||||
|
@ -41,7 +41,7 @@ class OldQualityLayoutPatch : BytecodePatch(
|
||||
} ?: return QualityMenuViewInflateFingerprint.toErrorResult()
|
||||
|
||||
/*
|
||||
add settings
|
||||
* Add settings
|
||||
*/
|
||||
SettingsPatch.addPreference(
|
||||
arrayOf(
|
||||
|
@ -81,8 +81,8 @@ class HideEndscreenOverlayPatch : BytecodePatch() {
|
||||
|
||||
if (errorIndex == -1) {
|
||||
/*
|
||||
add settings
|
||||
*/
|
||||
* Add settings
|
||||
*/
|
||||
SettingsPatch.addPreference(
|
||||
arrayOf(
|
||||
"PREFERENCE: LAYOUT_SETTINGS",
|
||||
|
@ -57,8 +57,8 @@ class HideFilmstripOverlayPatch : BytecodePatch(
|
||||
it.removeInstruction(index)
|
||||
|
||||
/*
|
||||
add settings
|
||||
*/
|
||||
* Add settings
|
||||
*/
|
||||
SettingsPatch.addPreference(
|
||||
arrayOf(
|
||||
"PREFERENCE: LAYOUT_SETTINGS",
|
||||
|
@ -58,8 +58,8 @@ class HideFullscreenPanelsPatch : BytecodePatch(
|
||||
} ?: return FullscreenViewAdderFingerprint.toErrorResult()
|
||||
|
||||
/*
|
||||
add settings
|
||||
*/
|
||||
* Add settings
|
||||
*/
|
||||
SettingsPatch.addPreference(
|
||||
arrayOf(
|
||||
"PREFERENCE: LAYOUT_SETTINGS",
|
||||
|
@ -52,8 +52,8 @@ class HapticFeedBackPatch : BytecodePatch(
|
||||
}
|
||||
|
||||
/*
|
||||
add settings
|
||||
*/
|
||||
* Add settings
|
||||
*/
|
||||
SettingsPatch.addPreference(
|
||||
arrayOf(
|
||||
"PREFERENCE: LAYOUT_SETTINGS",
|
||||
|
@ -65,8 +65,8 @@ class AutoCaptionsPatch : BytecodePatch(
|
||||
} ?: return SubtitleTrackFingerprint.toErrorResult()
|
||||
|
||||
/*
|
||||
add settings
|
||||
*/
|
||||
* Add settings
|
||||
*/
|
||||
SettingsPatch.addPreference(
|
||||
arrayOf(
|
||||
"PREFERENCE: LAYOUT_SETTINGS",
|
||||
|
@ -45,8 +45,8 @@ class PlayerPopupPanelsPatch : BytecodePatch(
|
||||
} ?: return EngagementPanelControllerFingerprint.toErrorResult()
|
||||
|
||||
/*
|
||||
add settings
|
||||
*/
|
||||
* Add settings
|
||||
*/
|
||||
SettingsPatch.addPreference(
|
||||
arrayOf(
|
||||
"PREFERENCE: LAYOUT_SETTINGS",
|
||||
|
@ -72,8 +72,8 @@ class CrowdfundingBoxPatch : BytecodePatch() {
|
||||
|
||||
if (errorIndex == -1) {
|
||||
/*
|
||||
add settings
|
||||
*/
|
||||
* Add settings
|
||||
*/
|
||||
SettingsPatch.addPreference(
|
||||
arrayOf(
|
||||
"PREFERENCE: LAYOUT_SETTINGS",
|
||||
|
@ -76,8 +76,8 @@ class HeaderSwitchPatch : BytecodePatch() {
|
||||
|
||||
if (errorIndex == -1) {
|
||||
/*
|
||||
add settings
|
||||
*/
|
||||
* Add settings
|
||||
*/
|
||||
SettingsPatch.addPreference(
|
||||
arrayOf(
|
||||
"PREFERENCE: LAYOUT_SETTINGS",
|
||||
|
@ -52,8 +52,8 @@ class MixPlaylistsPatch : BytecodePatch(
|
||||
}
|
||||
|
||||
/*
|
||||
add settings
|
||||
*/
|
||||
* Add settings
|
||||
*/
|
||||
SettingsPatch.addPreference(
|
||||
arrayOf(
|
||||
"PREFERENCE: LAYOUT_SETTINGS",
|
||||
|
@ -44,8 +44,8 @@ class HideEmailAddressPatch : BytecodePatch(
|
||||
} ?: return AccountSwitcherAccessibilityLabelFingerprint.toErrorResult()
|
||||
|
||||
/*
|
||||
add settings
|
||||
*/
|
||||
* Add settings
|
||||
*/
|
||||
SettingsPatch.addPreference(
|
||||
arrayOf(
|
||||
"PREFERENCE: LAYOUT_SETTINGS",
|
||||
|
@ -69,8 +69,8 @@ class CreateButtonRemoverPatch : BytecodePatch(
|
||||
injectHook(hook, createButtonInstructions.indexOf(instruction) + 2)
|
||||
|
||||
/*
|
||||
add settings
|
||||
*/
|
||||
* Add settings
|
||||
*/
|
||||
SettingsPatch.addPreference(
|
||||
arrayOf(
|
||||
"PREFERENCE: LAYOUT_SETTINGS",
|
||||
|
@ -73,9 +73,8 @@ class ShortsButtonRemoverPatch : BytecodePatch(
|
||||
} ?: return PivotBarCreateButtonViewFingerprint.toErrorResult()
|
||||
|
||||
/*
|
||||
add settings
|
||||
*/
|
||||
|
||||
* Add settings
|
||||
*/
|
||||
SettingsPatch.addPreference(
|
||||
arrayOf(
|
||||
"PREFERENCE: LAYOUT_SETTINGS",
|
||||
|
@ -107,8 +107,8 @@ class ShortsComponentPatch : BytecodePatch() {
|
||||
context.updatePatchStatus("ShortsComponent")
|
||||
|
||||
/*
|
||||
add settings
|
||||
*/
|
||||
* Add settings
|
||||
*/
|
||||
SettingsPatch.addPreference(
|
||||
arrayOf(
|
||||
"PREFERENCE: LAYOUT_SETTINGS",
|
||||
|
@ -43,8 +43,8 @@ class HideSnackbarPatch : BytecodePatch(
|
||||
} ?: return HideSnackbarFingerprint.toErrorResult()
|
||||
|
||||
/*
|
||||
add settings
|
||||
*/
|
||||
* Add settings
|
||||
*/
|
||||
SettingsPatch.addPreference(
|
||||
arrayOf(
|
||||
"PREFERENCE: LAYOUT_SETTINGS",
|
||||
|
@ -49,8 +49,8 @@ class HideShortsOnStartupPatch : BytecodePatch(
|
||||
} ?: return UserWasInShortsFingerprint.toErrorResult()
|
||||
|
||||
/*
|
||||
add settings
|
||||
*/
|
||||
* Add settings
|
||||
*/
|
||||
SettingsPatch.addPreference(
|
||||
arrayOf(
|
||||
"PREFERENCE: LAYOUT_SETTINGS",
|
||||
|
@ -75,8 +75,8 @@ class HideStoriesPatch : BytecodePatch() {
|
||||
|
||||
if (errorIndex == -1) {
|
||||
/*
|
||||
add settings
|
||||
*/
|
||||
* Add settings
|
||||
*/
|
||||
SettingsPatch.addPreference(
|
||||
arrayOf(
|
||||
"PREFERENCE: LAYOUT_SETTINGS",
|
||||
|
@ -61,8 +61,8 @@ class TabletMiniPlayerPatch : BytecodePatch(
|
||||
} ?: return MiniPlayerDimensionsCalculatorFingerprint.toErrorResult()
|
||||
|
||||
/*
|
||||
add settings
|
||||
*/
|
||||
* Add settings
|
||||
*/
|
||||
SettingsPatch.addPreference(
|
||||
arrayOf(
|
||||
"PREFERENCE: LAYOUT_SETTINGS",
|
||||
|
@ -54,8 +54,8 @@ class WideSearchbarPatch : BytecodePatch(
|
||||
}
|
||||
|
||||
/*
|
||||
add settings
|
||||
*/
|
||||
* Add settings
|
||||
*/
|
||||
SettingsPatch.addPreference(
|
||||
arrayOf(
|
||||
"PREFERENCE: LAYOUT_SETTINGS",
|
||||
|
@ -68,8 +68,8 @@ class HideAutoplayButtonPatch : BytecodePatch(
|
||||
} ?: return LayoutConstructorFingerprint.toErrorResult()
|
||||
|
||||
/*
|
||||
add settings
|
||||
*/
|
||||
* Add settings
|
||||
*/
|
||||
SettingsPatch.addPreference(
|
||||
arrayOf(
|
||||
"PREFERENCE: LAYOUT_SETTINGS",
|
||||
|
@ -46,8 +46,8 @@ class HideCaptionsButtonBytecodePatch : BytecodePatch(
|
||||
} ?: return SubtitleButtonControllerFingerprint.toErrorResult()
|
||||
|
||||
/*
|
||||
add settings
|
||||
*/
|
||||
* Add settings
|
||||
*/
|
||||
SettingsPatch.addPreference(
|
||||
arrayOf(
|
||||
"PREFERENCE: LAYOUT_SETTINGS",
|
||||
|
@ -39,8 +39,8 @@ class HideCastButtonPatch : BytecodePatch() {
|
||||
}
|
||||
|
||||
/*
|
||||
add settings
|
||||
*/
|
||||
* Add settings
|
||||
*/
|
||||
SettingsPatch.addPreference(
|
||||
arrayOf(
|
||||
"PREFERENCE: LAYOUT_SETTINGS",
|
||||
|
@ -56,8 +56,8 @@ class HideEndscreenCardsPatch : BytecodePatch(
|
||||
}
|
||||
|
||||
/*
|
||||
add settings
|
||||
*/
|
||||
* Add settings
|
||||
*/
|
||||
SettingsPatch.addPreference(
|
||||
arrayOf(
|
||||
"PREFERENCE: LAYOUT_SETTINGS",
|
||||
|
@ -41,8 +41,8 @@ class HideInfocardsPatch : BytecodePatch(
|
||||
} ?: return InfocardsIncognitoParentFingerprint.toErrorResult()
|
||||
|
||||
/*
|
||||
add settings
|
||||
*/
|
||||
* Add settings
|
||||
*/
|
||||
SettingsPatch.addPreference(
|
||||
arrayOf(
|
||||
"PREFERENCE: LAYOUT_SETTINGS",
|
||||
|
@ -28,7 +28,7 @@ class HideLiveChatButtonPatch : ResourcePatch {
|
||||
override fun execute(context: ResourceContext): PatchResult {
|
||||
|
||||
/*
|
||||
add settings
|
||||
* Add settings
|
||||
*/
|
||||
SettingsPatch.addPreference(
|
||||
arrayOf(
|
||||
|
@ -28,7 +28,7 @@ class HideNextPrevButtonPatch : ResourcePatch {
|
||||
override fun execute(context: ResourceContext): PatchResult {
|
||||
|
||||
/*
|
||||
add settings
|
||||
* Add settings
|
||||
*/
|
||||
SettingsPatch.addPreference(
|
||||
arrayOf(
|
||||
|
@ -88,8 +88,8 @@ class PlayerOverlayFilterPatch : BytecodePatch() {
|
||||
|
||||
if (errorIndex == -1) {
|
||||
/*
|
||||
add settings
|
||||
*/
|
||||
* Add settings
|
||||
*/
|
||||
SettingsPatch.addPreference(
|
||||
arrayOf(
|
||||
"PREFERENCE: LAYOUT_SETTINGS",
|
||||
|
@ -73,8 +73,8 @@ class SuggestedActionsPatch : BytecodePatch() {
|
||||
|
||||
if (errorIndex == -1) {
|
||||
/*
|
||||
add settings
|
||||
*/
|
||||
* Add settings
|
||||
*/
|
||||
SettingsPatch.addPreference(
|
||||
arrayOf(
|
||||
"PREFERENCE: LAYOUT_SETTINGS",
|
||||
|
@ -52,8 +52,8 @@ class HideChannelWatermarkBytecodePatch : BytecodePatch(
|
||||
} ?: return HideWatermarkParentFingerprint.toErrorResult()
|
||||
|
||||
/*
|
||||
add settings
|
||||
*/
|
||||
* Add settings
|
||||
*/
|
||||
SettingsPatch.addPreference(
|
||||
arrayOf(
|
||||
"PREFERENCE: LAYOUT_SETTINGS",
|
||||
|
@ -78,8 +78,8 @@ class SeekbarColorPatch : BytecodePatch() {
|
||||
|
||||
if (errorIndex == -1) {
|
||||
/*
|
||||
add settings
|
||||
*/
|
||||
* Add settings
|
||||
*/
|
||||
SettingsPatch.addPreference(
|
||||
arrayOf(
|
||||
"PREFERENCE: LAYOUT_SETTINGS",
|
||||
|
@ -88,8 +88,8 @@ class SeekbarTappingPatch : BytecodePatch(
|
||||
} ?: return SeekbarTappingFingerprint.toErrorResult()
|
||||
|
||||
/*
|
||||
add settings
|
||||
*/
|
||||
* Add settings
|
||||
*/
|
||||
SettingsPatch.addPreference(
|
||||
arrayOf(
|
||||
"PREFERENCE: LAYOUT_SETTINGS",
|
||||
|
@ -61,8 +61,8 @@ class HideTimeAndSeekbarPatch : BytecodePatch(
|
||||
} ?: return TimeCounterParentFingerprint.toErrorResult()
|
||||
|
||||
/*
|
||||
add settings
|
||||
*/
|
||||
* Add settings
|
||||
*/
|
||||
SettingsPatch.addPreference(
|
||||
arrayOf(
|
||||
"PREFERENCE: LAYOUT_SETTINGS",
|
||||
|
Reference in New Issue
Block a user