mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-06-12 05:07:41 +02:00
rename patch
This commit is contained in:
@ -12,7 +12,7 @@ import app.revanced.shared.annotation.YouTubeCompatibility
|
||||
import app.revanced.shared.util.integrations.Constants.FLYOUTPANEL_LAYOUT
|
||||
import org.jf.dexlib2.iface.instruction.FiveRegisterInstruction
|
||||
|
||||
@Name("enable-oldstyle-quality-layout-bytecode-patch")
|
||||
@Name("enable-old-quality-layout-bytecode-patch")
|
||||
@YouTubeCompatibility
|
||||
@Version("0.0.1")
|
||||
class OldQualityLayoutBytecodePatch : BytecodePatch(
|
||||
|
@ -15,7 +15,7 @@ import app.revanced.shared.annotation.YouTubeCompatibility
|
||||
import app.revanced.shared.util.resources.ResourceHelper
|
||||
|
||||
@Patch
|
||||
@Name("enable-oldstyle-quality-layout")
|
||||
@Name("enable-old-quality-layout")
|
||||
@Description("Enables the original quality flyout menu.")
|
||||
@DependsOn(
|
||||
[
|
||||
@ -36,12 +36,12 @@ class OldQualityLayoutPatch : ResourcePatch {
|
||||
"PREFERENCE_CATEGORY: REVANCED_SETTINGS",
|
||||
"PREFERENCE: LAYOUT_SETTINGS",
|
||||
"PREFERENCE_HEADER: FLYOUT_PANEL",
|
||||
"SETTINGS: ENABLE_OLD_STYLE_QUALITY_LAYOUT"
|
||||
"SETTINGS: ENABLE_OLD_QUALITY_LAYOUT"
|
||||
)
|
||||
|
||||
ResourceHelper.patchSuccess(
|
||||
context,
|
||||
"enable-oldstyle-quality-layout"
|
||||
"enable-old-quality-layout"
|
||||
)
|
||||
|
||||
return PatchResultSuccess()
|
||||
|
Reference in New Issue
Block a user