mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-08-29 08:21:30 +00:00
Rename Tray import
This commit is contained in:
parent
fe76ca1bbd
commit
04523ddfe9
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
import { app, Menu, Tray as ElectronTray } from 'electron';
|
import { app, Menu, Tray } from 'electron';
|
||||||
import path from 'path';
|
import path from 'path';
|
||||||
|
|
||||||
export default window => {
|
export default window => {
|
||||||
|
@ -17,7 +17,7 @@ export default window => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const tray = new ElectronTray(iconPath);
|
const tray = new Tray(iconPath);
|
||||||
|
|
||||||
tray.on('double-click', () => {
|
tray.on('double-click', () => {
|
||||||
window.show();
|
window.show();
|
||||||
|
|
Loading…
Add table
Reference in a new issue