refactor: ReVanced settings UI (remove summary and PreferenceScreen segmentation)

This commit is contained in:
inotia00
2023-03-06 12:11:35 +09:00
parent 2d7506e871
commit 6aefd9bd87
31 changed files with 153 additions and 195 deletions

View File

@ -32,8 +32,7 @@ class ButtonContainerPatch : ResourcePatch {
*/
SettingsPatch.addPreference(
arrayOf(
"PREFERENCE: OTHER_LAYOUT_SETTINGS",
"PREFERENCE_HEADER: BOTTOM_PLAYER",
"PREFERENCE: BOTTOM_PLAYER_LAYOUT_SETTINGS",
"SETTINGS: BUTTON_CONTAINER"
)
)

View File

@ -32,8 +32,7 @@ class CommentComponentPatch : ResourcePatch {
*/
SettingsPatch.addPreference(
arrayOf(
"PREFERENCE: OTHER_LAYOUT_SETTINGS",
"PREFERENCE_HEADER: BOTTOM_PLAYER",
"PREFERENCE: BOTTOM_PLAYER_LAYOUT_SETTINGS",
"SETTINGS: COMMENT_COMPONENT_PARENT",
"SETTINGS: COMMENT_COMPONENTS"
)