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 FlyoutPanelPatch : ResourcePatch {
*/
SettingsPatch.addPreference(
arrayOf(
"PREFERENCE: OTHER_LAYOUT_SETTINGS",
"PREFERENCE_HEADER: FLYOUT_PANEL",
"PREFERENCE: FLYOUT_PANEL_LAYOUT_SETTINGS",
"SETTINGS: FLYOUT_PANEL_COMPONENT"
)
)

View File

@ -70,8 +70,7 @@ class OldQualityLayoutPatch : BytecodePatch(
*/
SettingsPatch.addPreference(
arrayOf(
"PREFERENCE: OTHER_LAYOUT_SETTINGS",
"PREFERENCE_HEADER: FLYOUT_PANEL",
"PREFERENCE: FLYOUT_PANEL_LAYOUT_SETTINGS",
"SETTINGS: ENABLE_OLD_QUALITY_LAYOUT"
)
)