mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-13 03:27:45 +02:00
fix(pwa): set app display as standalone in the webmanifests
This commit is contained in:
parent
33aae1f793
commit
7aa37d24ac
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
'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'],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue