Fix Auto-Start checked

This commit is contained in:
2020-04-23 13:39:10 -05:00
parent 1ccca09a02
commit d7aaab1d31

View File

@@ -199,7 +199,7 @@ const createWindow = () => {
autoLauncher autoLauncher
.isEnabled() .isEnabled()
.then((enabled) => { .then((enabled) => {
trayContextMenu.items[1].checked = enabled; trayContextMenu.items[2].checked = enabled;
mainWindowTray.setToolTip('Repertory UI'); mainWindowTray.setToolTip('Repertory UI');
mainWindowTray.setContextMenu(trayContextMenu) mainWindowTray.setContextMenu(trayContextMenu)
}) })