We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 847ce8d commit 5b8b388Copy full SHA for 5b8b388
extensions/youtube/src/main/java/app/revanced/extension/youtube/patches/ChangeHeaderPatch.java
@@ -34,7 +34,10 @@ private Integer getAttributeId() {
34
return null;
35
}
36
37
- return Utils.getResourceIdentifier(resourceName, "attr");
+ final int identifier = Utils.getResourceIdentifier(resourceName, "attr");
38
+ // Identifier is zero if custom header setting was included in imported settings
39
+ // and a custom image was not included during patching.
40
+ return identifier == 0 ? null : identifier;
41
42
43
0 commit comments