aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores
diff options
context:
space:
mode:
authorLibravatar Stephan Rumswinkel <stnkl@users.noreply.github.com>2021-04-04 12:37:35 +0200
committerLibravatar GitHub <noreply@github.com>2021-04-04 11:37:35 +0100
commitcf0c1a29dd1db194b5355572212bbb5bbed65e52 (patch)
tree247902ddddc7f92670a86c0819e45ff6d54262d8 /src/stores
parentNew Crowdin updates (#1257) (diff)
downloadferdium-app-cf0c1a29dd1db194b5355572212bbb5bbed65e52.tar.gz
ferdium-app-cf0c1a29dd1db194b5355572212bbb5bbed65e52.tar.zst
ferdium-app-cf0c1a29dd1db194b5355572212bbb5bbed65e52.zip
Fix window unsnapping when clicking notification (#896) (#1264)
Closes #896
Diffstat (limited to 'src/stores')
-rw-r--r--src/stores/AppStore.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/stores/AppStore.js b/src/stores/AppStore.js
index 869cfa9d6..529201df5 100644
--- a/src/stores/AppStore.js
+++ b/src/stores/AppStore.js
@@ -333,7 +333,9 @@ export default class AppStore extends Store {
333 this.actions.service.setActive({ 333 this.actions.service.setActive({
334 serviceId, 334 serviceId,
335 }); 335 });
336 mainWindow.show(); 336 if (!app.mainWindow.isVisible()) {
337 mainWindow.show();
338 }
337 if (app.mainWindow.isMinimized()) { 339 if (app.mainWindow.isMinimized()) {
338 mainWindow.restore(); 340 mainWindow.restore();
339 } 341 }