fix(pwa): add maskable icon to web manifest (#1456)
|
@ -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',
|
||||
|
|
Before Width: | Height: | Size: 7.5 KiB After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 8.1 KiB After Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 7.7 KiB |
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 8.1 KiB After Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 7.8 KiB |
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 7.8 KiB After Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 7.8 KiB |