aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2024-03-08 17:07:06 +0100
committerGitHub <noreply@github.com>2024-03-08 17:07:06 +0100
commitb2b4f34d967e1aed556847b349b8b39f429938d2 (patch)
tree884e3e321ee63ecab3cc64f346340fcc8778c7c8 /apps
parent170f93ad725c31f0ac870ac91e5ba78617c1c2cf (diff)
parentc8d7a5acaabb5c2f8bae1ccb70ce9c76cfd86c5c (diff)
downloadnextcloud-server-b2b4f34d967e1aed556847b349b8b39f429938d2.tar.gz
nextcloud-server-b2b4f34d967e1aed556847b349b8b39f429938d2.zip
Merge pull request #44073 from nextcloud/fix/provide-correct-icon
fix(AppManager): Allow to query dark **or** bright icon
Diffstat (limited to 'apps')
-rw-r--r--apps/updatenotification/lib/Notification/AppUpdateNotifier.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/updatenotification/lib/Notification/AppUpdateNotifier.php b/apps/updatenotification/lib/Notification/AppUpdateNotifier.php
index d5509bfcd75..8fb8047aac7 100644
--- a/apps/updatenotification/lib/Notification/AppUpdateNotifier.php
+++ b/apps/updatenotification/lib/Notification/AppUpdateNotifier.php
@@ -84,9 +84,9 @@ class AppUpdateNotifier implements INotifier {
// Prepare translation factory for requested language
$l = $this->l10nFactory->get(Application::APP_NAME, $languageCode);
- $icon = $this->appManager->getAppIcon($appId);
+ $icon = $this->appManager->getAppIcon($appId, true);
if ($icon === null) {
- $icon = $this->urlGenerator->imagePath('core', 'default-app-icon');
+ $icon = $this->urlGenerator->imagePath('core', 'actions/change.svg');
}
$action = $notification->createAction();