From 991ee64db2e815ccf838c446307a03215ecb7cea Mon Sep 17 00:00:00 2001 From: maTh Date: Mon, 28 Jun 2021 21:10:12 +0200 Subject: 3672 notification icon (#3678) * icon with padding to border * resized icon to 256 --- p/scripts/main.js | 2 +- p/themes/icons/favicon-256-padding.png | Bin 0 -> 17027 bytes 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 p/themes/icons/favicon-256-padding.png diff --git a/p/scripts/main.js b/p/scripts/main.js index 5713f57f3..7016929d1 100644 --- a/p/scripts/main.js +++ b/p/scripts/main.js @@ -1369,7 +1369,7 @@ function notifs_html5_show(nb) { } const notification = new window.Notification(context.i18n.notif_title_articles, { - icon: '../themes/icons/favicon-256.png', + icon: '../themes/icons/favicon-256-padding.png', body: context.i18n.notif_body_articles.replace('%d', nb), tag: 'freshRssNewArticles', }); diff --git a/p/themes/icons/favicon-256-padding.png b/p/themes/icons/favicon-256-padding.png new file mode 100644 index 000000000..256cc6af5 Binary files /dev/null and b/p/themes/icons/favicon-256-padding.png differ -- cgit v1.2.3