nextcloud/apps/theming/lib
Simon L. 1d2b23eed7 fix(theming): preserve uploaded favicon and touch icon
PR #58224 dropped the `$iconFile === null` guard around the app-specific
icon generation in getFavicon()/getTouchIcon(), so an uploaded custom
favicon was always overwritten by the generated, context-colored icon
whenever Imagick could produce an ICO/PNG.

Restore the guard so the generation path only runs as a fallback when no
custom favicon was uploaded, while keeping the improved Imagick
capability detection from #58224.

Assisted-by: ClaudeCode:claude-opus-4-8
Signed-off-by: Simon L. <szaimen@e.mail.de>
2026-06-13 21:43:48 +02:00
..
AppInfo chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
Command chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
Controller fix(theming): preserve uploaded favicon and touch icon 2026-06-13 21:43:48 +02:00
Jobs chore: add missing Override attribute to app code 2026-04-28 21:29:28 +02:00
Listener chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
Migration chore: add missing Override attribute to app code 2026-04-28 21:29:28 +02:00
Service chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
Settings chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
SetupChecks chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
Themes chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
Capabilities.php chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
ConfigLexicon.php chore: add missing Override attribute to app code 2026-04-28 21:29:28 +02:00
IconBuilder.php chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
ImageManager.php fix: resolve PHP deprecation of imagedestroy 2026-06-11 00:59:15 +02:00
ITheme.php chore: Add SPDX header 2024-05-31 10:38:47 +02:00
ResponseDefinitions.php chore: Add SPDX header 2024-05-31 10:38:47 +02:00
ThemingDefaults.php chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00
Util.php chore: Apply new coding standard to all files 2026-06-01 13:46:39 +02:00