diff --git a/extensions/sticky/composer.json b/extensions/sticky/composer.json index 474e6140f..5f0e5b5cd 100644 --- a/extensions/sticky/composer.json +++ b/extensions/sticky/composer.json @@ -29,7 +29,7 @@ "flarum-extension": { "title": "Sticky", "icon": { - "name": "fa fa-thumbtack", + "name": "fas fa-thumbtack", "backgroundColor": "#D13E32", "color": "#fff" } diff --git a/extensions/sticky/js/admin/src/main.js b/extensions/sticky/js/admin/src/main.js index ab0447aa1..b7856cf83 100644 --- a/extensions/sticky/js/admin/src/main.js +++ b/extensions/sticky/js/admin/src/main.js @@ -5,7 +5,7 @@ import PermissionGrid from 'flarum/components/PermissionGrid'; app.initializers.add('flarum-sticky', () => { extend(PermissionGrid.prototype, 'moderateItems', items => { items.add('sticky', { - icon: 'fa fa-thumbtack', + icon: 'fas fa-thumbtack', label: app.translator.trans('flarum-sticky.admin.permissions.sticky_discussions_label'), permission: 'discussion.sticky' }, 95); diff --git a/extensions/sticky/js/forum/src/addStickyBadge.js b/extensions/sticky/js/forum/src/addStickyBadge.js index 950d578fc..723961585 100644 --- a/extensions/sticky/js/forum/src/addStickyBadge.js +++ b/extensions/sticky/js/forum/src/addStickyBadge.js @@ -8,7 +8,7 @@ export default function addStickyBadge() { badges.add('sticky', Badge.component({ type: 'sticky', label: app.translator.trans('flarum-sticky.forum.badge.sticky_tooltip'), - icon: 'fa fa-thumbtack' + icon: 'fas fa-thumbtack' }), 10); } }); diff --git a/extensions/sticky/js/forum/src/addStickyControl.js b/extensions/sticky/js/forum/src/addStickyControl.js index 94624e99d..6b8aa7d66 100644 --- a/extensions/sticky/js/forum/src/addStickyControl.js +++ b/extensions/sticky/js/forum/src/addStickyControl.js @@ -8,7 +8,7 @@ export default function addStickyControl() { if (discussion.canSticky()) { items.add('sticky', Button.component({ children: app.translator.trans(discussion.isSticky() ? 'flarum-sticky.forum.discussion_controls.unsticky_button' : 'flarum-sticky.forum.discussion_controls.sticky_button'), - icon: 'fa fa-thumbtack', + icon: 'fas fa-thumbtack', onclick: this.stickyAction.bind(discussion) })); } diff --git a/extensions/sticky/js/forum/src/components/DiscussionStickiedPost.js b/extensions/sticky/js/forum/src/components/DiscussionStickiedPost.js index 353b78280..f3e3736fd 100644 --- a/extensions/sticky/js/forum/src/components/DiscussionStickiedPost.js +++ b/extensions/sticky/js/forum/src/components/DiscussionStickiedPost.js @@ -2,7 +2,7 @@ import EventPost from 'flarum/components/EventPost'; export default class DiscussionStickiedPost extends EventPost { icon() { - return 'fa fa-thumbtack'; + return 'fas fa-thumbtack'; } descriptionKey() {