mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-06-12 21:27:43 +02:00
refactor: better method is used for settings-framework
This commit is contained in:
@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user