From 6b54580f91495dcb23571e00077a12c98ae87d3d Mon Sep 17 00:00:00 2001 From: John Livingston Date: Tue, 16 Jul 2024 12:01:51 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20=C2=ABcreate=20new=20poll=C2=BB=20icon.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + conversejs/custom/plugins/poll/utils.js | 2 +- conversejs/custom/shared/components/font-awesome.js | 5 +++++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ac5241e6..d2dcf68d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ ### Minor changes and fixes * Moderation delay: fix accessibility on the timer shown to moderators. +* Fix «create new poll» icon. ## 10.3.0 diff --git a/conversejs/custom/plugins/poll/utils.js b/conversejs/custom/plugins/poll/utils.js index 9a4a3812..913105d5 100644 --- a/conversejs/custom/plugins/poll/utils.js +++ b/conversejs/custom/plugins/poll/utils.js @@ -32,7 +32,7 @@ export function getHeadingButtons (view, buttons) { api.modal.show('livechat-converse-poll-form-modal', { model: muc }) }, a_class: '', - icon_class: 'fa-list-check', // FIXME + icon_class: 'fa-square-poll-horizontal', name: 'muc-create-poll' }) diff --git a/conversejs/custom/shared/components/font-awesome.js b/conversejs/custom/shared/components/font-awesome.js index 8a93dfef..ce9407aa 100644 --- a/conversejs/custom/shared/components/font-awesome.js +++ b/conversejs/custom/shared/components/font-awesome.js @@ -23,6 +23,11 @@ export default () => { + + + + + ` }