From f112f9416f8535a025ccca4a9fcc47d366fded1a Mon Sep 17 00:00:00 2001 From: daria <95225431+dariiing@users.noreply.github.com> Date: Wed, 20 Aug 2025 15:58:46 +0300 Subject: [PATCH] update icon --- www/common/notifications.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/www/common/notifications.js b/www/common/notifications.js index 8ec80c2e9..9415ebb51 100644 --- a/www/common/notifications.js +++ b/www/common/notifications.js @@ -12,8 +12,10 @@ define([ '/common/common-constants.js', '/customize/messages.js', '/customize/pages.js', + '/customize/fonts/lucide.js', + '/common/common-icons.js', 'tui-date-picker' -], function($, h, Hash, UI, UIElements, Util, Constants, Messages, Pages, DatePicker) { +], function($, h, Hash, UI, UIElements, Util, Constants, Messages, Pages, Lucide, Icons, DatePicker) { var handlers = {}; @@ -458,7 +460,9 @@ define([ content.getFormatText = function () { var msg = Pages.setHTML(h('span'), Messages.settings_safeLinkDefault); var i = msg.querySelector('i'); - if (i) { i.classList = 'fa fa-shhare-alt'; } + if (i) { i.remove(); } + const icon = Icons.get('share'); + msg.appendChild(icon); return msg.innerHTML; };