mirror of
https://github.com/friendica/friendica
synced 2025-04-24 10:30:11 +00:00
Merge pull request #9343 from vinzv/9337-fix-pwa-manifest
Adding bigger icons and updating one used for PWA
This commit is contained in:
commit
b812065499
6 changed files with 8 additions and 3 deletions
|
@ -31,7 +31,7 @@ class Manifest extends BaseModule
|
|||
{
|
||||
$config = DI::config();
|
||||
|
||||
$touch_icon = $config->get('system', 'touch_icon') ?: 'images/friendica-128.png';
|
||||
$touch_icon = $config->get('system', 'touch_icon') ?: 'images/friendica-192.png';
|
||||
|
||||
$theme = DI::config()->get('system', 'theme');
|
||||
|
||||
|
@ -44,7 +44,12 @@ class Manifest extends BaseModule
|
|||
'icons' => [
|
||||
[
|
||||
'src' => DI::baseUrl()->get() . '/' . $touch_icon,
|
||||
'sizes' => '128x128',
|
||||
'sizes' => '192x192',
|
||||
'type' => 'image/png',
|
||||
],
|
||||
[
|
||||
'src' => DI::baseUrl()->get() . '/' . $touch_icon,
|
||||
'sizes' => '512x512',
|
||||
'type' => 'image/png',
|
||||
],
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue