From 7aa37d24ac13a1ee160c01a56b43621d7efcfbbc Mon Sep 17 00:00:00 2001 From: Yassine Doghri <yassine@doghri.fr> Date: Sun, 23 Jan 2022 14:37:44 +0000 Subject: [PATCH] fix(pwa): set app display as standalone in the webmanifests --- app/Controllers/WebmanifestController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Controllers/WebmanifestController.php b/app/Controllers/WebmanifestController.php index c001b12d11..60bd523ca1 100644 --- a/app/Controllers/WebmanifestController.php +++ b/app/Controllers/WebmanifestController.php @@ -57,7 +57,7 @@ class WebmanifestController extends Controller 'lang' => service('request') ->getLocale(), 'start_url' => base_url(), - 'display' => 'minimal-ui', + 'display' => 'standalone', 'orientation' => 'portrait', 'theme_color' => self::THEME_COLORS[service('settings')->get('App.theme')]['theme'], 'background_color' => self::THEME_COLORS[service('settings')->get('App.theme')]['background'], @@ -94,7 +94,7 @@ class WebmanifestController extends Controller 'description' => $podcast->description, 'lang' => $podcast->language_code, 'start_url' => $podcast->link, - 'display' => 'minimal-ui', + 'display' => 'standalone', 'orientation' => 'portrait', 'theme_color' => self::THEME_COLORS[service('settings')->get('App.theme')]['theme'], 'background_color' => self::THEME_COLORS[service('settings')->get('App.theme')]['background'], -- GitLab