Skip to content

Commit e783125

Browse files
Tray-API: Add method to update tray icon #13
Added.
1 parent 1de45ce commit e783125

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/main/java/org/cryptomator/integrations/tray/TrayMenuController.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@ static Optional<TrayMenuController> get() {
3030
*/
3131
void showTrayIcon(byte[] imageData, Runnable defaultAction, String tooltip) throws TrayMenuException;
3232

33+
/**
34+
* Updates an icon on the system tray.
35+
*
36+
* @param imageData What image to show
37+
*/
38+
void updateTrayIcon(byte[] imageData);
39+
3340
/**
3441
* Show the given options in the tray menu.
3542
* <p>

0 commit comments

Comments
 (0)