mirror of
https://github.com/revanced/revanced-patches
synced 2024-12-11 18:47:45 +01:00
feat(youtube/disable-player-popup-panels): use better patch description
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
This commit is contained in:
parent
b803e3e1a7
commit
71506625ac
@ -1,4 +1,4 @@
|
||||
package app.revanced.patches.youtube.layout.panels.fullscreen.popup.annotations
|
||||
package app.revanced.patches.youtube.layout.panels.popup.annotations
|
||||
|
||||
import app.revanced.patcher.annotation.Compatibility
|
||||
import app.revanced.patcher.annotation.Package
|
@ -1,4 +1,4 @@
|
||||
package app.revanced.patches.youtube.layout.panels.fullscreen.popup.fingerprints
|
||||
package app.revanced.patches.youtube.layout.panels.popup.fingerprints
|
||||
|
||||
import app.revanced.patcher.extensions.or
|
||||
import app.revanced.patcher.fingerprint.method.annotation.FuzzyPatternScanMethod
|
@ -1,4 +1,4 @@
|
||||
package app.revanced.patches.youtube.layout.panels.fullscreen.popup.patch
|
||||
package app.revanced.patches.youtube.layout.panels.popup.patch
|
||||
|
||||
import app.revanced.extensions.toErrorResult
|
||||
import app.revanced.patcher.annotation.Description
|
||||
@ -13,18 +13,18 @@ import app.revanced.patcher.patch.annotations.DependsOn
|
||||
import app.revanced.patcher.patch.annotations.Patch
|
||||
import app.revanced.patches.shared.settings.preference.impl.StringResource
|
||||
import app.revanced.patches.shared.settings.preference.impl.SwitchPreference
|
||||
import app.revanced.patches.youtube.layout.panels.fullscreen.popup.annotations.PlayerPopupPanelsCompatibility
|
||||
import app.revanced.patches.youtube.layout.panels.fullscreen.popup.fingerprints.EngagementPanelControllerFingerprint
|
||||
import app.revanced.patches.youtube.layout.panels.popup.annotations.PlayerPopupPanelsCompatibility
|
||||
import app.revanced.patches.youtube.layout.panels.popup.fingerprints.EngagementPanelControllerFingerprint
|
||||
import app.revanced.patches.youtube.misc.integrations.patch.IntegrationsPatch
|
||||
import app.revanced.patches.youtube.misc.settings.bytecode.patch.SettingsPatch
|
||||
|
||||
@Patch
|
||||
@DependsOn([IntegrationsPatch::class, SettingsPatch::class])
|
||||
@Name("disable-fullscreen-panels-auto-popup")
|
||||
@Description("Disables fullscreen panels from appearing automatically when going fullscreen (playlist or live chat).")
|
||||
@Name("disable-player-popup-panels")
|
||||
@Description("Disables panels from appearing automatically when going into fullscreen (playlist or live chat).")
|
||||
@PlayerPopupPanelsCompatibility
|
||||
@Version("0.0.1")
|
||||
class FullscreenPanelsPatch : BytecodePatch(
|
||||
class PlayerPopupPanelsPatch : BytecodePatch(
|
||||
listOf(
|
||||
EngagementPanelControllerFingerprint
|
||||
)
|
Loading…
Reference in New Issue
Block a user