feat(NU.nl): Support version 11.3.0 (#4925)

This commit is contained in:
Jasper Abbink 2025-05-13 00:37:41 +02:00 committed by GitHub
parent 7de4c9d41d
commit 887c9f0d75
4 changed files with 12 additions and 18 deletions

View file

@ -82,7 +82,7 @@ public class HideAdsPatch {
// Filter HeaderBlock with known ads until next HeaderBlock.
if (currentBlock instanceof HeaderBlock headerBlock) {
StyledText headerText = headerBlock.component20();
StyledText headerText = headerBlock.getTitle();
if (headerText != null) {
skipFullHeader = false;
for (String blockedHeaderBlock : blockedHeaderBlocks) {