fix(youtubevanced/hide-ads): hide more types of ads (#1781)

This commit is contained in:
johnconner122 2023-04-01 14:08:14 +05:00 committed by oSumAtrIX
parent ef8f26fb97
commit 47ff447f8e
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4

View File

@ -35,7 +35,7 @@ class HideAdsPatch : BytecodePatch(
val adsListRegister = (instruction(insertIndex - 2) as Instruction21c).registerA
listOf(
"video_display_full_buttoned_layout",
"_buttoned_layout",
"full_width_square_image_layout",
"_ad_with",
"landscape_image_wide_button_layout",
@ -46,7 +46,9 @@ class HideAdsPatch : BytecodePatch(
"video_display_full_layout",
"hero_promo_image",
"statement_banner",
"primetime_promo"
"primetime_promo",
"carousel_footered_layout",
"feature_grid_interstitial"
).forEach { component ->
addInstructions(
insertIndex, """
@ -60,4 +62,4 @@ class HideAdsPatch : BytecodePatch(
return PatchResultSuccess()
}
}
}