From b830c42ec11a41f7909b302cb05b6bd2a90f9e86 Mon Sep 17 00:00:00 2001 From: Vinzenz Vietzke Date: Sat, 3 Oct 2020 20:25:10 +0200 Subject: [PATCH] Add link to 512px icon, fix missing link --- src/App/Page.php | 2 +- src/Module/Manifest.php | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/App/Page.php b/src/App/Page.php index c2bfb38878..8c32286895 100644 --- a/src/App/Page.php +++ b/src/App/Page.php @@ -233,7 +233,7 @@ class Page implements ArrayAccess $touch_icon = $config->get('system', 'touch_icon'); if ($touch_icon == '') { - $touch_icon = 'images/friendica-128.png'; + $touch_icon = 'images/friendica-192.png'; } Hook::callAll('head', $this->page['htmlhead']); diff --git a/src/Module/Manifest.php b/src/Module/Manifest.php index a3a6e57bc1..8ea6fbcfc1 100644 --- a/src/Module/Manifest.php +++ b/src/Module/Manifest.php @@ -47,6 +47,11 @@ class Manifest extends BaseModule 'sizes' => '192x192', 'type' => 'image/png', ], + [ + 'src' => DI::baseUrl()->get() . '/' . $touch_icon, + 'sizes' => '512x512', + 'type' => 'image/png', + ], ], ];