diff --git a/ui/applets/gnome-shell-45/src/extension.js b/ui/applets/gnome-shell-45/src/extension.js index 976af5114..03af01574 100644 --- a/ui/applets/gnome-shell-45/src/extension.js +++ b/ui/applets/gnome-shell-45/src/extension.js @@ -201,7 +201,7 @@ const WorkraveButton = GObject.registerClass( this._box = new St.Bin(); if (typeof this._box.add_child === "function") { this._box.add_child(this._area); - } else if (typeof this.add_actor === "function") { + } else if (typeof this._box.add_actor === "function") { this._box.add_actor(this._area); }