aboutsummaryrefslogtreecommitdiffstats
path: root/apps/theming
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2020-01-21 16:34:08 +0100
committerJulius Härtl <jus@bitgrid.net>2020-01-21 16:34:08 +0100
commit70e3fcea2c4afbd185ec1d567852940ebe4e7d5c (patch)
tree966768cd99a3cd0b738c45dddc5e211bce81505e /apps/theming
parent6a53029b1d1bc4e9759370c286374f797a8bcca6 (diff)
downloadnextcloud-server-70e3fcea2c4afbd185ec1d567852940ebe4e7d5c.tar.gz
nextcloud-server-70e3fcea2c4afbd185ec1d567852940ebe4e7d5c.zip
Use themed favicon-fb
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/theming')
-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') {