Merge branch signalapp/Signal-Desktop#5276
This commit is contained in:
commit
c98993899a
1 changed files with 4 additions and 2 deletions
|
@ -219,10 +219,12 @@ export class SystemTrayService {
|
|||
if (!browserWindow) {
|
||||
return;
|
||||
}
|
||||
if (!browserWindow.isVisible()) {
|
||||
if (browserWindow.isVisible()) {
|
||||
browserWindow.hide();
|
||||
} else {
|
||||
browserWindow.show();
|
||||
}
|
||||
forceOnTop(browserWindow);
|
||||
}
|
||||
});
|
||||
|
||||
result.setToolTip(this.i18n('signalDesktop'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue