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.Compatibility
|
||||||
import app.revanced.patcher.annotation.Package
|
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.extensions.or
|
||||||
import app.revanced.patcher.fingerprint.method.annotation.FuzzyPatternScanMethod
|
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.extensions.toErrorResult
|
||||||
import app.revanced.patcher.annotation.Description
|
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.patcher.patch.annotations.Patch
|
||||||
import app.revanced.patches.shared.settings.preference.impl.StringResource
|
import app.revanced.patches.shared.settings.preference.impl.StringResource
|
||||||
import app.revanced.patches.shared.settings.preference.impl.SwitchPreference
|
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.popup.annotations.PlayerPopupPanelsCompatibility
|
||||||
import app.revanced.patches.youtube.layout.panels.fullscreen.popup.fingerprints.EngagementPanelControllerFingerprint
|
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.integrations.patch.IntegrationsPatch
|
||||||
import app.revanced.patches.youtube.misc.settings.bytecode.patch.SettingsPatch
|
import app.revanced.patches.youtube.misc.settings.bytecode.patch.SettingsPatch
|
||||||
|
|
||||||
@Patch
|
@Patch
|
||||||
@DependsOn([IntegrationsPatch::class, SettingsPatch::class])
|
@DependsOn([IntegrationsPatch::class, SettingsPatch::class])
|
||||||
@Name("disable-fullscreen-panels-auto-popup")
|
@Name("disable-player-popup-panels")
|
||||||
@Description("Disables fullscreen panels from appearing automatically when going fullscreen (playlist or live chat).")
|
@Description("Disables panels from appearing automatically when going into fullscreen (playlist or live chat).")
|
||||||
@PlayerPopupPanelsCompatibility
|
@PlayerPopupPanelsCompatibility
|
||||||
@Version("0.0.1")
|
@Version("0.0.1")
|
||||||
class FullscreenPanelsPatch : BytecodePatch(
|
class PlayerPopupPanelsPatch : BytecodePatch(
|
||||||
listOf(
|
listOf(
|
||||||
EngagementPanelControllerFingerprint
|
EngagementPanelControllerFingerprint
|
||||||
)
|
)
|
Loading…
Reference in a new issue