diff --git a/images/friendica-192.jpg b/images/friendica-192.jpg new file mode 100644 index 000000000..de6ae75ae Binary files /dev/null and b/images/friendica-192.jpg differ diff --git a/images/friendica-192.png b/images/friendica-192.png new file mode 100644 index 000000000..97537c6c3 Binary files /dev/null and b/images/friendica-192.png differ diff --git a/images/friendica-512.jpg b/images/friendica-512.jpg new file mode 100644 index 000000000..a8bb114dc Binary files /dev/null and b/images/friendica-512.jpg differ diff --git a/images/friendica-512.png b/images/friendica-512.png new file mode 100644 index 000000000..e579478df Binary files /dev/null and b/images/friendica-512.png differ diff --git a/src/App/Page.php b/src/App/Page.php index c2bfb3887..8c3228689 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 bfe758fa9..8ea6fbcfc 100644 --- a/src/Module/Manifest.php +++ b/src/Module/Manifest.php @@ -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', ], ],