better comments

This commit is contained in:
inotia00
2023-02-18 12:46:36 +09:00
parent 2116b28beb
commit eaf6bd9bd8
54 changed files with 93 additions and 94 deletions

View File

@ -65,8 +65,8 @@ class AutoCaptionsPatch : BytecodePatch(
} ?: return SubtitleTrackFingerprint.toErrorResult()
/*
add settings
*/
* Add settings
*/
SettingsPatch.addPreference(
arrayOf(
"PREFERENCE: LAYOUT_SETTINGS",

View File

@ -45,8 +45,8 @@ class PlayerPopupPanelsPatch : BytecodePatch(
} ?: return EngagementPanelControllerFingerprint.toErrorResult()
/*
add settings
*/
* Add settings
*/
SettingsPatch.addPreference(
arrayOf(
"PREFERENCE: LAYOUT_SETTINGS",

View File

@ -72,8 +72,8 @@ class CrowdfundingBoxPatch : BytecodePatch() {
if (errorIndex == -1) {
/*
add settings
*/
* Add settings
*/
SettingsPatch.addPreference(
arrayOf(
"PREFERENCE: LAYOUT_SETTINGS",

View File

@ -76,8 +76,8 @@ class HeaderSwitchPatch : BytecodePatch() {
if (errorIndex == -1) {
/*
add settings
*/
* Add settings
*/
SettingsPatch.addPreference(
arrayOf(
"PREFERENCE: LAYOUT_SETTINGS",

View File

@ -52,8 +52,8 @@ class MixPlaylistsPatch : BytecodePatch(
}
/*
add settings
*/
* Add settings
*/
SettingsPatch.addPreference(
arrayOf(
"PREFERENCE: LAYOUT_SETTINGS",

View File

@ -44,8 +44,8 @@ class HideEmailAddressPatch : BytecodePatch(
} ?: return AccountSwitcherAccessibilityLabelFingerprint.toErrorResult()
/*
add settings
*/
* Add settings
*/
SettingsPatch.addPreference(
arrayOf(
"PREFERENCE: LAYOUT_SETTINGS",

View File

@ -69,8 +69,8 @@ class CreateButtonRemoverPatch : BytecodePatch(
injectHook(hook, createButtonInstructions.indexOf(instruction) + 2)
/*
add settings
*/
* Add settings
*/
SettingsPatch.addPreference(
arrayOf(
"PREFERENCE: LAYOUT_SETTINGS",

View File

@ -73,9 +73,8 @@ class ShortsButtonRemoverPatch : BytecodePatch(
} ?: return PivotBarCreateButtonViewFingerprint.toErrorResult()
/*
add settings
*/
* Add settings
*/
SettingsPatch.addPreference(
arrayOf(
"PREFERENCE: LAYOUT_SETTINGS",

View File

@ -107,8 +107,8 @@ class ShortsComponentPatch : BytecodePatch() {
context.updatePatchStatus("ShortsComponent")
/*
add settings
*/
* Add settings
*/
SettingsPatch.addPreference(
arrayOf(
"PREFERENCE: LAYOUT_SETTINGS",

View File

@ -43,8 +43,8 @@ class HideSnackbarPatch : BytecodePatch(
} ?: return HideSnackbarFingerprint.toErrorResult()
/*
add settings
*/
* Add settings
*/
SettingsPatch.addPreference(
arrayOf(
"PREFERENCE: LAYOUT_SETTINGS",

View File

@ -49,8 +49,8 @@ class HideShortsOnStartupPatch : BytecodePatch(
} ?: return UserWasInShortsFingerprint.toErrorResult()
/*
add settings
*/
* Add settings
*/
SettingsPatch.addPreference(
arrayOf(
"PREFERENCE: LAYOUT_SETTINGS",

View File

@ -75,8 +75,8 @@ class HideStoriesPatch : BytecodePatch() {
if (errorIndex == -1) {
/*
add settings
*/
* Add settings
*/
SettingsPatch.addPreference(
arrayOf(
"PREFERENCE: LAYOUT_SETTINGS",

View File

@ -61,8 +61,8 @@ class TabletMiniPlayerPatch : BytecodePatch(
} ?: return MiniPlayerDimensionsCalculatorFingerprint.toErrorResult()
/*
add settings
*/
* Add settings
*/
SettingsPatch.addPreference(
arrayOf(
"PREFERENCE: LAYOUT_SETTINGS",

View File

@ -54,8 +54,8 @@ class WideSearchbarPatch : BytecodePatch(
}
/*
add settings
*/
* Add settings
*/
SettingsPatch.addPreference(
arrayOf(
"PREFERENCE: LAYOUT_SETTINGS",