feat(YouTube/Shorts components): remove Hide disabled comments button setting https://github.com/inotia00/ReVanced_Extended/issues/2127

This commit is contained in:
inotia00
2024-06-11 23:36:27 +09:00
parent 0484078144
commit eafe50ba7a
3 changed files with 6 additions and 16 deletions

View File

@ -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)
}