Merge branch signalapp/Signal-Desktop#5276
This commit is contained in:
@@ -219,10 +219,12 @@ export class SystemTrayService {
|
|||||||
if (!browserWindow) {
|
if (!browserWindow) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!browserWindow.isVisible()) {
|
if (browserWindow.isVisible()) {
|
||||||
|
browserWindow.hide();
|
||||||
|
} else {
|
||||||
browserWindow.show();
|
browserWindow.show();
|
||||||
|
forceOnTop(browserWindow);
|
||||||
}
|
}
|
||||||
forceOnTop(browserWindow);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
result.setToolTip(this.i18n('signalDesktop'));
|
result.setToolTip(this.i18n('signalDesktop'));
|
||||||
|
Reference in New Issue
Block a user