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

@ -43,9 +43,7 @@ class MicroGPatch : ResourcePatch {
*/
SettingsPatch.addPreference(
arrayOf(
"PREFERENCE_CATEGORY: MICROG_SETTINGS",
"PREFERENCE: MICROG_SETTINGS",
"SETTINGS: MICROG_SETTINGS"
"PREFERENCE: MICROG_SETTINGS"
)
)
SettingsPatch.updatePatchStatus("microg-support")

View File

@ -13,6 +13,7 @@ import app.revanced.patcher.patch.annotations.DependsOn
import app.revanced.patcher.util.proxy.mutableTypes.MutableMethod
import app.revanced.patches.shared.annotation.YouTubeCompatibility
import app.revanced.patches.youtube.misc.playercontrols.patch.PlayerControlsPatch
import app.revanced.patches.youtube.misc.playertype.patch.PlayerTypeHookPatch
import app.revanced.patches.youtube.misc.resourceid.patch.SharedResourcdIdPatch
import app.revanced.patches.youtube.misc.sponsorblock.bytecode.fingerprints.*
import app.revanced.patches.youtube.misc.timebar.patch.HookTimebarPatch
@ -32,6 +33,7 @@ import org.jf.dexlib2.iface.reference.MethodReference
[
MainstreamVideoIdPatch::class,
PlayerControlsPatch::class,
PlayerTypeHookPatch::class,
SharedResourcdIdPatch::class
]
)