mirror of
https://code.castopod.org/adaures/castopod
synced 2025-06-06 18:31:05 +00:00
fix(pwa): set app display as standalone in the webmanifests
This commit is contained in:
parent
33aae1f793
commit
7aa37d24ac
@ -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…
x
Reference in New Issue
Block a user