fix(pwa): add maskable icon to web manifest (#1456)
This commit is contained in:
parent
bc78b50ee0
commit
050092b87a
13 changed files with 12 additions and 0 deletions
|
@ -92,6 +92,12 @@ export const createI18n = async (): Promise<LocalizedWebManifest> => {
|
|||
sizes: '512x512',
|
||||
type: 'image/png',
|
||||
},
|
||||
{
|
||||
src: 'maskable-icon.png',
|
||||
sizes: '512x512',
|
||||
type: 'image/png',
|
||||
purpose: 'any maskable',
|
||||
},
|
||||
],
|
||||
share_target: {
|
||||
action: '/web-share-target',
|
||||
|
@ -132,6 +138,12 @@ export const createI18n = async (): Promise<LocalizedWebManifest> => {
|
|||
sizes: '512x512',
|
||||
type: 'image/png',
|
||||
},
|
||||
{
|
||||
src: 'maskable-icon.png',
|
||||
sizes: '512x512',
|
||||
type: 'image/png',
|
||||
purpose: 'any maskable',
|
||||
},
|
||||
],
|
||||
share_target: {
|
||||
action: '/web-share-target',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue