Add link to 512px icon, fix missing link

2022.09-rc
Vinzenz Vietzke 2020-10-03 20:25:10 +02:00
rodzic 2d0e0cd310
commit b830c42ec1
2 zmienionych plików z 6 dodań i 1 usunięć

Wyświetl plik

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

Wyświetl plik

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