File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
patches/src/main/kotlin/app/revanced/patches/shared/layout/branding Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -192,6 +192,7 @@ internal fun baseCustomBrandingPatch(
192192 )
193193 )
194194
195+ // Copy template icon png files.
195196 mipmapDirectories.forEach { dpi ->
196197 copyResources(
197198 " custom-branding" ,
@@ -348,12 +349,12 @@ internal fun baseCustomBrandingPatch(
348349 )
349350 }
350351
351- // Must add all aliases even if the user did not provide option values .
352+ // Must add all aliases even if the user did not provide a custom icon of their own .
352353 // This is because if the user installs with an option, then repatches without the option,
353- // the alias must still exist because if it was previously enabled and then it's removed,
354- // the app will become broken and cannot launch. Even if the app data is cleared,
355- // it still cannot be launched. The only fix is to uninstall the app.
356- // To prevent this, always include all prior aliases and use dummy data if needed.
354+ // the alias must still exist because if it was previously enabled and then it's removed
355+ // the app will become broken and cannot launch. Even if the app data is cleared
356+ // it still cannot be launched and the only fix is to uninstall the app.
357+ // To prevent this, always include all aliases and use dummy data if needed.
357358 application.appendChild(
358359 createAlias(
359360 aliasName = aliasName(CUSTOM_USER_ICON_STYLE_NAME ),
You can’t perform that action at this time.
0 commit comments