fix(YouTube - Custom branding): Fix double icons and change default branding to ReVanced (#6806)

This commit is contained in:
Dawid Krajcarz 2026-03-18 16:38:30 +01:00 committed by GitHub
parent 43688d0622
commit e51c5292c1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 47 additions and 24 deletions

View file

@ -114,7 +114,7 @@ public class CustomBrandingPatch {
/**
* Injection point.
*
* <p>
* The total number of app name aliases, including dummy aliases.
*/
private static int numberOfPresetAppNames() {
@ -146,13 +146,13 @@ public class CustomBrandingPatch {
public static int getDefaultAppNameIndex() {
return userProvidedCustomName()
? numberOfPresetAppNames()
: 1;
: 2;
}
public static BrandingTheme getDefaultIconStyle() {
return userProvidedCustomIcon()
? BrandingTheme.CUSTOM
: BrandingTheme.ORIGINAL;
: BrandingTheme.ROUNDED;
}
/**