fix build error

This commit is contained in:
inotia00 2025-01-20 02:38:53 +09:00
parent 1980651eaa
commit c0500bef7b
3 changed files with 6 additions and 5 deletions

View File

@ -9,6 +9,7 @@ import app.revanced.patcher.util.smali.ExternalLabel
import app.revanced.patches.shared.litho.addLithoFilter import app.revanced.patches.shared.litho.addLithoFilter
import app.revanced.patches.shared.litho.lithoFilterPatch import app.revanced.patches.shared.litho.lithoFilterPatch
import app.revanced.patches.youtube.utils.compatibility.Constants.COMPATIBLE_PACKAGE import app.revanced.patches.youtube.utils.compatibility.Constants.COMPATIBLE_PACKAGE
import app.revanced.patches.youtube.utils.engagementPanelTitleParentFingerprint
import app.revanced.patches.youtube.utils.extension.Constants.COMPONENTS_PATH import app.revanced.patches.youtube.utils.extension.Constants.COMPONENTS_PATH
import app.revanced.patches.youtube.utils.extension.Constants.PLAYER_CLASS_DESCRIPTOR import app.revanced.patches.youtube.utils.extension.Constants.PLAYER_CLASS_DESCRIPTOR
import app.revanced.patches.youtube.utils.patch.PatchList.DESCRIPTION_COMPONENTS import app.revanced.patches.youtube.utils.patch.PatchList.DESCRIPTION_COMPONENTS

View File

@ -22,11 +22,6 @@ internal fun indexOfContentDescriptionInstruction(method: Method) =
getReference<MethodReference>()?.name == "setContentDescription" getReference<MethodReference>()?.name == "setContentDescription"
} }
internal val engagementPanelTitleParentFingerprint = legacyFingerprint(
name = "engagementPanelTitleParentFingerprint",
strings = listOf("[EngagementPanelTitleHeader] Cannot remove action buttons from header as the child count is out of sync. Buttons to remove exceed current header child count.")
)
/** /**
* This fingerprint is compatible with YouTube v18.35.xx~ * This fingerprint is compatible with YouTube v18.35.xx~
* Nonetheless, the patch works in YouTube v19.02.xx~ * Nonetheless, the patch works in YouTube v19.02.xx~

View File

@ -59,6 +59,11 @@ internal val engagementPanelBuilderFingerprint = legacyFingerprint(
) )
) )
internal val engagementPanelTitleParentFingerprint = legacyFingerprint(
name = "engagementPanelTitleParentFingerprint",
strings = listOf("[EngagementPanelTitleHeader] Cannot remove action buttons from header as the child count is out of sync. Buttons to remove exceed current header child count.")
)
internal val layoutConstructorFingerprint = legacyFingerprint( internal val layoutConstructorFingerprint = legacyFingerprint(
name = "layoutConstructorFingerprint", name = "layoutConstructorFingerprint",
returnType = "V", returnType = "V",