Skip to content

Commit

Permalink
Fixed incorrect icon when reopening maximized window
Browse files Browse the repository at this point in the history
  • Loading branch information
saif-ellafi committed May 2, 2021
1 parent 36ee279 commit 8721fd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/feature/minimize.js
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ export default class MinimalUIMinimize {
const maximizeButton = {
label: "",
class: "maximize",
icon: "far fa-window-maximize",
icon: this._maximized ? "far fa-window-restore" : "far fa-window-maximize",
onclick: () => {
MinimalUIMinimize.maximizeWindow(this)
}
Expand Down

0 comments on commit 8721fd2

Please sign in to comment.