fix: change default name to ReVanced too
This commit is contained in:
parent
ff71535be7
commit
fda0c754f1
2 changed files with 2 additions and 2 deletions
|
|
@ -146,7 +146,7 @@ public class CustomBrandingPatch {
|
||||||
public static int getDefaultAppNameIndex() {
|
public static int getDefaultAppNameIndex() {
|
||||||
return userProvidedCustomName()
|
return userProvidedCustomName()
|
||||||
? numberOfPresetAppNames()
|
? numberOfPresetAppNames()
|
||||||
: 1;
|
: 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static BrandingTheme getDefaultIconStyle() {
|
public static BrandingTheme getDefaultIconStyle() {
|
||||||
|
|
|
||||||
|
|
@ -344,7 +344,7 @@ internal fun baseCustomBrandingPatch(
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
val enabledNameIndex = if (useCustomName) numberOfPresetAppNames else 1 // 1 indexing.
|
val enabledNameIndex = if (useCustomName) numberOfPresetAppNames else 2 // 1 indexing.
|
||||||
val enabledIconIndex = if (useCustomIcon) iconStyleNames.size - 1 else 0 // 0 indexing.
|
val enabledIconIndex = if (useCustomIcon) iconStyleNames.size - 1 else 0 // 0 indexing.
|
||||||
|
|
||||||
for (appNameIndex in 1..numberOfPresetAppNames) {
|
for (appNameIndex in 1..numberOfPresetAppNames) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue