From ac0c938a35242bcfdd5910c8aa67af9787c665fc Mon Sep 17 00:00:00 2001 From: Kelv Date: Wed, 4 Dec 2024 09:36:24 +0800 Subject: [PATCH] DEV: Update deprecated Font Awesome icon names (#323) --- .discourse-compatibility | 1 + .../connectors/user-activity-bottom/solved-list.hbs | 2 +- plugin.rb | 6 +++--- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.discourse-compatibility b/.discourse-compatibility index dedfd44..11fd7fa 100644 --- a/.discourse-compatibility +++ b/.discourse-compatibility @@ -1,3 +1,4 @@ +< 3.4.0.beta2-dev: 024d9dd70f5a2510fd1744aa3108fda44cf0201e < 3.4.0.beta2-dev: 1bbdfd8f5681171dc3f0e9ea93cd56997dc7938a < 3.4.0.beta1-dev: dc1ef92be23332a54854751a23b9029463584845 < 3.3.0.beta2-dev: a18ce6d712fafed286bcc99543dd173110c6dfb8 diff --git a/assets/javascripts/discourse/connectors/user-activity-bottom/solved-list.hbs b/assets/javascripts/discourse/connectors/user-activity-bottom/solved-list.hbs index 201cb6e..5b05da6 100644 --- a/assets/javascripts/discourse/connectors/user-activity-bottom/solved-list.hbs +++ b/assets/javascripts/discourse/connectors/user-activity-bottom/solved-list.hbs @@ -1,7 +1,7 @@ {{#if this.siteSettings.solved_enabled}}
  • - {{d-icon "check-square"}} + {{d-icon "square-check"}} {{i18n "solved.title"}}
  • diff --git a/plugin.rb b/plugin.rb index 2930ac9..20e8334 100644 --- a/plugin.rb +++ b/plugin.rb @@ -9,9 +9,9 @@ enabled_site_setting :solved_enabled -register_svg_icon "far fa-check-square" -register_svg_icon "check-square" -register_svg_icon "far fa-square" +register_svg_icon "far-square-check" +register_svg_icon "square-check" +register_svg_icon "far-square" register_asset "stylesheets/solutions.scss" register_asset "stylesheets/mobile/solutions.scss", :mobile