Skip to content

Commit c7ecab8

Browse files
Tray-API: Add method to update tray icon #13
Updated javadoc as requested.
1 parent e783125 commit c7ecab8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,10 @@ static Optional<TrayMenuController> get() {
3131
void showTrayIcon(byte[] imageData, Runnable defaultAction, String tooltip) throws TrayMenuException;
3232

3333
/**
34-
* Updates an icon on the system tray.
34+
* Updates the icon on the system tray.
3535
*
3636
* @param imageData What image to show
37+
* @throws IllegalStateException thrown when called before an icon has been added
3738
*/
3839
void updateTrayIcon(byte[] imageData);
3940

0 commit comments

Comments
 (0)