refactor: better method is used for settings-framework

This commit is contained in:
inotia00
2023-02-18 01:57:06 +09:00
parent fb45389c5e
commit ef370c82d1
3 changed files with 10 additions and 25 deletions

View File

@ -16,7 +16,6 @@ import app.revanced.patches.youtube.misc.settings.resource.patch.SettingsPatch
import app.revanced.patches.youtube.video.customspeed.bytecode.patch.CustomVideoSpeedBytecodePatch
import app.revanced.util.resources.ResourceHelper.addSpeedEntries
import app.revanced.util.resources.ResourceHelper.addSpeedEntryValues
import app.revanced.util.resources.ResourceHelper.replaceCustomSpeed
import app.revanced.util.resources.ResourceUtils.copyXmlNode
@Patch
@ -50,8 +49,6 @@ class CustomVideoSpeedPatch : ResourcePatch {
context.addSpeedEntryValues(speedElements[index])
}
context.replaceCustomSpeed()
/*
add settings
*/