mirror of
https://github.com/revanced/revanced-patches
synced 2024-11-06 18:57:03 +01:00
feat(youtube/wide-searchbar): rename patch
This commit is contained in:
parent
be786d1036
commit
ac9ad79f2f
@ -24,7 +24,7 @@ import app.revanced.patches.youtube.misc.settings.bytecode.patch.SettingsPatch
|
|||||||
|
|
||||||
@Patch
|
@Patch
|
||||||
@DependsOn([IntegrationsPatch::class, SettingsPatch::class])
|
@DependsOn([IntegrationsPatch::class, SettingsPatch::class])
|
||||||
@Name("enable-wide-searchbar")
|
@Name("wide-searchbar")
|
||||||
@Description("Replaces the search icon with a wide search bar. This will hide the YouTube logo when active.")
|
@Description("Replaces the search icon with a wide search bar. This will hide the YouTube logo when active.")
|
||||||
@WideSearchbarCompatibility
|
@WideSearchbarCompatibility
|
||||||
@Version("0.0.1")
|
@Version("0.0.1")
|
||||||
@ -79,7 +79,7 @@ class WideSearchbarPatch : BytecodePatch(
|
|||||||
addInstructions(
|
addInstructions(
|
||||||
implementation!!.instructions.size - 1,
|
implementation!!.instructions.size - 1,
|
||||||
"""
|
"""
|
||||||
invoke-static {}, Lapp/revanced/integrations/patches/NewActionbarPatch;->getNewActionBar()Z
|
invoke-static {}, Lapp/revanced/integrations/patches/WideSearchbarPatch;->enableWideSearchbar()Z
|
||||||
move-result p0
|
move-result p0
|
||||||
"""
|
"""
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user