Skip to content

Commit

Permalink
Replaced tray icon and theme specific logic
Browse files Browse the repository at this point in the history
  • Loading branch information
ransome1 committed Oct 15, 2023
1 parent 8f411c7 commit a555be9
Show file tree
Hide file tree
Showing 22 changed files with 1 addition and 1 deletion.
Binary file removed assets/icons/tray/darkTheme/tray.png
Binary file not shown.
Binary file removed assets/icons/tray/darkTheme/[email protected]
Binary file not shown.
Binary file removed assets/icons/tray/darkTheme/[email protected]
Binary file not shown.
Binary file removed assets/icons/tray/darkTheme/[email protected]
Binary file not shown.
Binary file removed assets/icons/tray/darkTheme/[email protected]
Binary file not shown.
Binary file removed assets/icons/tray/darkTheme/[email protected]
Binary file not shown.
Binary file removed assets/icons/tray/darkTheme/[email protected]
Binary file not shown.
Binary file removed assets/icons/tray/lightTheme/tray.png
Binary file not shown.
Binary file removed assets/icons/tray/lightTheme/[email protected]
Binary file not shown.
Binary file removed assets/icons/tray/lightTheme/[email protected]
Binary file not shown.
Binary file removed assets/icons/tray/lightTheme/[email protected]
Binary file not shown.
Binary file removed assets/icons/tray/lightTheme/[email protected]
Binary file not shown.
Binary file removed assets/icons/tray/lightTheme/[email protected]
Binary file not shown.
Binary file removed assets/icons/tray/lightTheme/[email protected]
Binary file not shown.
Binary file added assets/icons/tray/tray.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/tray/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/tray/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/tray/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/tray/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/tray/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/tray/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/main/modules/Tray.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function createTray() {
const files = configStorage.get('files') as File[] || [];
const menu = Menu.buildFromTemplate(createMenuTemplate(files));

tray = new Tray((isWindows && !isDark) ? getAssetPath('icons/tray/lightTheme/tray.png') : getAssetPath('icons/tray/darkTheme/tray.png'));
tray = new Tray(getAssetPath('icons/tray/tray.png'));
tray.setContextMenu(menu);

return Promise.resolve('Tray created');
Expand Down

0 comments on commit a555be9

Please sign in to comment.