Skip to content

Commit

Permalink
Remove event prop
Browse files Browse the repository at this point in the history
  • Loading branch information
simonhamp committed Nov 19, 2024
1 parent 1df3c34 commit fc070a2
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/MenuBar/MenuBar.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ class MenuBar

protected bool $alwaysOnTop = false;

protected ?string $event = null;

protected bool $showDockIcon = false;

protected Client $client;
Expand Down Expand Up @@ -97,13 +95,6 @@ public function alwaysOnTop($alwaysOnTop = true): self
return $this;
}

public function event(string $event): self
{
$this->event = $event;

return $this;
}

public function withContextMenu(Menu $menu): self
{
$this->contextMenu = $menu;
Expand Down Expand Up @@ -131,7 +122,6 @@ public function toArray(): array
'onlyShowContextMenu' => $this->onlyShowContextMenu,
'contextMenu' => ! is_null($this->contextMenu) ? $this->contextMenu->toArray()['submenu'] : null,
'alwaysOnTop' => $this->alwaysOnTop,
'event' => $this->event,
];
}
}

0 comments on commit fc070a2

Please sign in to comment.