Skip to content

Commit

Permalink
fixed usage of this.settings in widget.js
Browse files Browse the repository at this point in the history
  • Loading branch information
sakithb committed Oct 23, 2023
1 parent d04af20 commit 8880642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ export const MediaControls = GObject.registerClass(
}

updateMediaNotification() {
if (this.settings.hideMediaNotification) {
if (this.hideMediaNotification) {
this._mediaSectionAdd = Mpris.MediaSection.prototype._addPlayer;
Mpris.MediaSection.prototype._addPlayer = function () {
return;
Expand Down

0 comments on commit 8880642

Please sign in to comment.