Use themed favicon-fb

Signed-off-by: Julius Härtl <jus@bitgrid.net>
pull/19054/head
Julius Härtl 6 years ago
parent 6a53029b1d
commit 70e3fcea2c
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
  1. 2
      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') {

Loading…
Cancel
Save