Skip to content

Commit

Permalink
DEV: Update more deprecated Font Awesome icon names (#104)
Browse files Browse the repository at this point in the history
* DEV: Update more deprecated Font Awesome icon names

* update bars-staggered
  • Loading branch information
tyb-talks authored Dec 8, 2024
1 parent f1d183e commit 05d454d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .discourse-compatibility
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
< 3.4.0.beta2-dev: f1d183eaac44b647978cdd481ec06407f4008d7c
< 3.4.0.beta1-dev: 51f099289db87d3f0e5fe89298afaeaf899bebc7
< 3.3.0.beta1-dev: 3179e886a366e15fb0de3c869990c2292763bd89
< 3.2.0.beta2: 0f2a0e73e6c2924f2b44d3241931f2bd5f77a9ae
Expand Down
2 changes: 1 addition & 1 deletion javascripts/discourse/components/toc-mini-buttons.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default class TocMiniButtons extends Component {
/>
<DButton
@action={{this.closeOverlay}}
@icon="times"
@icon="xmark"
class="btn btn-transparent d-toc-close"
/>
</div>
Expand Down
2 changes: 1 addition & 1 deletion javascripts/discourse/components/toc-mini.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default class TocMini extends Component {
<span class="d-toc-mini">
<DButton
class="btn-primary"
@icon="stream"
@icon="bars-staggered"
@action={{this.toggleTOCOverlay}}
/>
</span>
Expand Down
2 changes: 1 addition & 1 deletion javascripts/discourse/components/toc-toggle.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default class TocToggle extends Component {
}

get toggleIcon() {
return this.tocProcessor.isTocVisible ? "timeline" : "stream";
return this.tocProcessor.isTocVisible ? "timeline" : "bars-staggered";
}

<template>
Expand Down

0 comments on commit 05d454d

Please sign in to comment.