Skip to content

Commit 6d531ac

Browse files
committed
Allow updating of icon
1 parent ad88ff8 commit 6d531ac

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/MenuBar/MenuBarManager.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@ public function tooltip(string $tooltip)
3838
]);
3939
}
4040

41+
public function icon(string $icon)
42+
{
43+
$this->client->post('menu-bar/icon', [
44+
'icon' => $icon,
45+
]);
46+
}
47+
4148
public function contextMenu(Menu $contextMenu)
4249
{
4350
$this->client->post('menu-bar/context-menu', [

0 commit comments

Comments
 (0)