Add link to 512px icon, fix missing link

This commit is contained in:
Vinzenz Vietzke 2020-10-03 20:25:10 +02:00
parent 2d0e0cd310
commit b830c42ec1
2 changed files with 6 additions and 1 deletions

View file

@ -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']);

View file

@ -47,6 +47,11 @@ class Manifest extends BaseModule
'sizes' => '192x192',
'type' => 'image/png',
],
[
'src' => DI::baseUrl()->get() . '/' . $touch_icon,
'sizes' => '512x512',
'type' => 'image/png',
],
],
];