Skip to content
Snippets Groups Projects
Commit 7aa37d24 authored by Yassine Doghri's avatar Yassine Doghri
Browse files

fix(pwa): set app display as standalone in the webmanifests

parent 33aae1f7
No related branches found
No related tags found
No related merge requests found
...@@ -57,7 +57,7 @@ class WebmanifestController extends Controller ...@@ -57,7 +57,7 @@ class WebmanifestController extends Controller
'lang' => service('request') 'lang' => service('request')
->getLocale(), ->getLocale(),
'start_url' => base_url(), 'start_url' => base_url(),
'display' => 'minimal-ui', 'display' => 'standalone',
'orientation' => 'portrait', 'orientation' => 'portrait',
'theme_color' => self::THEME_COLORS[service('settings')->get('App.theme')]['theme'], 'theme_color' => self::THEME_COLORS[service('settings')->get('App.theme')]['theme'],
'background_color' => self::THEME_COLORS[service('settings')->get('App.theme')]['background'], 'background_color' => self::THEME_COLORS[service('settings')->get('App.theme')]['background'],
...@@ -94,7 +94,7 @@ class WebmanifestController extends Controller ...@@ -94,7 +94,7 @@ class WebmanifestController extends Controller
'description' => $podcast->description, 'description' => $podcast->description,
'lang' => $podcast->language_code, 'lang' => $podcast->language_code,
'start_url' => $podcast->link, 'start_url' => $podcast->link,
'display' => 'minimal-ui', 'display' => 'standalone',
'orientation' => 'portrait', 'orientation' => 'portrait',
'theme_color' => self::THEME_COLORS[service('settings')->get('App.theme')]['theme'], 'theme_color' => self::THEME_COLORS[service('settings')->get('App.theme')]['theme'],
'background_color' => self::THEME_COLORS[service('settings')->get('App.theme')]['background'], 'background_color' => self::THEME_COLORS[service('settings')->get('App.theme')]['background'],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment