Skip to content

Commit

Permalink
Added sync to visibility toggle on dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
Trsnaqe committed Jul 4, 2024
1 parent 8e13e5b commit 182f5f2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,10 @@ const Indicator = GObject.registerClass(

_observeSettings() {
this._settings.connect("changed::show-icon-only-when-active", () => {
const iconVisibilitySetting = this._settings.get_boolean(
"show-icon-only-when-active"
);
this._iconVisibilityToggle.setToggleState(iconVisibilitySetting);
this._updateIcon(this._client.current_state);
});
this._settings.connect("changed::show-launch-notification", () => {
Expand Down

0 comments on commit 182f5f2

Please sign in to comment.