Merge pull request #122 from benoitf/DESKTOP-119

fix: always bring the window on top when opening dashboard
This commit is contained in:
Daniel J Walsh 2022-05-03 11:20:37 -04:00 committed by GitHub
commit 21fc9b4f5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -345,12 +345,9 @@ export class TrayMenu {
if (window?.isMinimized()) {
window.restore();
}
if (!window?.isVisible()) {
window?.show();
if (isMac) {
app.dock.show();
}
window?.show();
if (isMac) {
app.dock.show();
}
window?.focus();
window?.moveTop();