File tree Expand file tree Collapse file tree
src/main/java/org/cryptomator/integrations/tray Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33import org .cryptomator .integrations .common .IntegrationsLoader ;
44import org .jetbrains .annotations .ApiStatus ;
55
6- import java .io .IOException ;
7- import java .io .InputStream ;
6+ import java .net .URI ;
87import java .util .List ;
98import java .util .Optional ;
109
@@ -23,20 +22,20 @@ static Optional<TrayMenuController> get() {
2322 /**
2423 * Displays an icon on the system tray.
2524 *
26- * @param imageData What image to show
25+ * @param imageUri What image to show
2726 * @param defaultAction Action to perform when interacting with the icon directly instead of its menu
2827 * @param tooltip Text shown when hovering
2928 * @throws TrayMenuException thrown when adding the tray icon failed
3029 */
31- void showTrayIcon (byte [] imageData , Runnable defaultAction , String tooltip ) throws TrayMenuException ;
30+ void showTrayIcon (URI imageUri , Runnable defaultAction , String tooltip ) throws TrayMenuException ;
3231
3332 /**
3433 * Updates the icon on the system tray.
3534 *
36- * @param imageData What image to show
35+ * @param imageUri What image to show
3736 * @throws IllegalStateException thrown when called before an icon has been added
3837 */
39- void updateTrayIcon (byte [] imageData );
38+ void updateTrayIcon (URI imageUri );
4039
4140 /**
4241 * Show the given options in the tray menu.
You can’t perform that action at this time.
0 commit comments