update icon

This commit is contained in:
daria 2025-08-20 15:58:46 +03:00
parent 204dbc50ba
commit f112f9416f
No known key found for this signature in database
GPG Key ID: 3B75240E6B2F2701

View File

@ -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;
};