mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-06-13 13:47:42 +02:00
feat(YouTube/Shorts components): remove Hide disabled comments button
setting https://github.com/inotia00/ReVanced_Extended/issues/2127
This commit is contained in:
@ -299,14 +299,12 @@ object ShortsComponentPatch : BaseBytecodePatch(
|
||||
/**
|
||||
* Add settings
|
||||
*/
|
||||
var settingArray = arrayOf(
|
||||
"PREFERENCE_SCREEN: SHORTS",
|
||||
"SETTINGS: SHORTS_COMPONENTS"
|
||||
SettingsPatch.addPreference(
|
||||
arrayOf(
|
||||
"PREFERENCE_SCREEN: SHORTS",
|
||||
"SETTINGS: SHORTS_COMPONENTS"
|
||||
)
|
||||
)
|
||||
if (SettingsPatch.upward1834) {
|
||||
settingArray += "SETTINGS: HIDE_SHORTS_COMMENTS_DISABLED_BUTTON"
|
||||
}
|
||||
SettingsPatch.addPreference(settingArray)
|
||||
|
||||
SettingsPatch.updatePatchStatus(this)
|
||||
}
|
||||
|
Reference in New Issue
Block a user