]> git.mxchange.org Git - friendica.git/commitdiff
Add link to 512px icon, fix missing link
authorVinzenz Vietzke <vinz@vinzv.de>
Sat, 3 Oct 2020 18:25:10 +0000 (20:25 +0200)
committerVinzenz Vietzke <vinz@vinzv.de>
Sat, 3 Oct 2020 18:25:10 +0000 (20:25 +0200)
src/App/Page.php
src/Module/Manifest.php

index c2bfb388788085ccbdbdc176f0a9db74bb32b447..8c32286895d397717009f891c976bc882582eb28 100644 (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']);
index a3a6e57bc1c561517735cd012ace90187648ccd9..8ea6fbcfc10e969d54955b10511e1fb7ac386211 100644 (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',
+                               ],
                        ],
                ];