diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2020-01-22 08:02:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-22 08:02:12 +0100 |
commit | 6861286b25aa2bedea10ec90a029fd684d942670 (patch) | |
tree | 53dbfc5db6771f4063353c7ce78bdaf824f4c933 /apps/theming | |
parent | 124f8b4c62535a62bbe22e6c29b01965ba6e2edc (diff) | |
parent | 70e3fcea2c4afbd185ec1d567852940ebe4e7d5c (diff) | |
download | nextcloud-server-6861286b25aa2bedea10ec90a029fd684d942670.tar.gz nextcloud-server-6861286b25aa2bedea10ec90a029fd684d942670.zip |
Merge pull request #19054 from nextcloud/theming/use-fbicon
Use themed favicon-fb
Diffstat (limited to 'apps/theming')
-rw-r--r-- | apps/theming/lib/ThemingDefaults.php | 2 |
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') { |