summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2020-01-21 16:34:08 +0100
committerBackportbot <backportbot-noreply@rullzer.com>2020-01-29 08:39:58 +0000
commit80773f2f15b81cbc70597a0c1e50cf907a6ac66e (patch)
tree70258eff274ae64a52fde6ea874d31d26fb0cb31 /apps
parent3cc69aa90172672d0c11368e1353d5ea95c269fa (diff)
downloadnextcloud-server-80773f2f15b81cbc70597a0c1e50cf907a6ac66e.tar.gz
nextcloud-server-80773f2f15b81cbc70597a0c1e50cf907a6ac66e.zip
Use themed favicon-fb
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps')
-rw-r--r--apps/theming/lib/ThemingDefaults.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/theming/lib/ThemingDefaults.php b/apps/theming/lib/ThemingDefaults.php
index 2b906cdafe1..fc07ac6619d 100644
--- a/apps/theming/lib/ThemingDefaults.php
+++ b/apps/theming/lib/ThemingDefaults.php
@@ -341,7 +341,7 @@ class ThemingDefaults extends \OC_Defaults {
if ($image === 'favicon.ico' && ($customFavicon !== null || $this->imageManager->shouldReplaceIcons())) {
$route = $this->urlGenerator->linkToRoute('theming.Icon.getFavicon', ['app' => $app]);
}
- if ($image === 'favicon-touch.png' && ($customFavicon !== null || $this->imageManager->shouldReplaceIcons())) {
+ if (($image === 'favicon-touch.png' || $image === 'favicon-fb.png') && ($customFavicon !== null || $this->imageManager->shouldReplaceIcons())) {
$route = $this->urlGenerator->linkToRoute('theming.Icon.getTouchIcon', ['app' => $app]);
}
if ($image === 'manifest.json') {