Fix push notification badge showing white box on Android

This commit is contained in:
Lim Chee Aun 2023-09-20 17:28:42 +08:00
parent c955427d8f
commit b3501d158f
3 changed files with 1 additions and 1 deletions

Binary file not shown.

BIN
public/logo-badge-72.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 299 B

View file

@ -143,7 +143,7 @@ self.addEventListener('push', (event) => {
body, body,
icon, icon,
dir: 'auto', dir: 'auto',
badge: '/logo-192.png', badge: '/logo-badge-72.png',
lang: preferred_locale, lang: preferred_locale,
tag: notification_id, tag: notification_id,
timestamp: Date.now(), timestamp: Date.now(),