From fb1ca7d8f1533ccb88eedc891e1b1b9bbb3941db Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Sat, 15 Apr 2023 17:16:20 +0100 Subject: [PATCH] fix: use `purpose: any` for normal pwa icon (#1981) --- modules/pwa/i18n.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/pwa/i18n.ts b/modules/pwa/i18n.ts index 52856a0211..c65daf9dce 100644 --- a/modules/pwa/i18n.ts +++ b/modules/pwa/i18n.ts @@ -93,12 +93,13 @@ export async function createI18n(): Promise { src: 'pwa-512x512.png', sizes: '512x512', type: 'image/png', + purpose: 'any', }, { src: 'maskable-icon.png', sizes: '512x512', type: 'image/png', - purpose: 'any maskable', + purpose: 'maskable', }, ], share_target: { @@ -140,12 +141,13 @@ export async function createI18n(): Promise { src: 'pwa-512x512.png', sizes: '512x512', type: 'image/png', + purpose: 'any', }, { src: 'maskable-icon.png', sizes: '512x512', type: 'image/png', - purpose: 'any maskable', + purpose: 'maskable', }, ], share_target: {