Skip to content

Commit

Permalink
set shortcut icons property as array
Browse files Browse the repository at this point in the history
  • Loading branch information
vpadhariya committed Jul 23, 2021
1 parent 0d84a59 commit 239be29
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Events.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,30 +113,30 @@ public static function onManifestControllerInit($event)
'short_name' => 'Messages',
'description' => Yii::$app->name . ' messaging app',
'url' => Url::toRoute(['/mail/mail/index', ['source' => 'pwa']], true),
'icons' => [
'icons' => [[
'src' => Url::toRoute('/', true) . 'olan-net-chat-192.png',
'sizes' => '192x192'
]
]]
],
[
'name' => 'Tasks',
'short_name' => 'Tasks',
'description' => 'Overview of my tasks',
'url' => Url::toRoute(['/tasks/global', ['source' => 'pwa']], true),
'icons' => [
'icons' => [[
'src' => Url::toRoute('/', true) . 'olan-net-tasks-192.png',
'sizes' => '192x192'
]
]]
],
[
'name' => 'Calendar',
'short_name' => 'Calendar',
'description' => 'Overview calendar',
'url' => Url::toRoute(['/calendar/global', ['source' => 'pwa']],true),
'icons' => [
'icons' => [[
'src' => Url::toRoute('/',true) . 'olan-net-calendar-192.png',
'sizes' => '192x192'
]
]]
]
]),
'screenshots' => [
Expand Down

0 comments on commit 239be29

Please sign in to comment.