aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2017-12-03 19:54:40 +0100
committerLibravatar GitHub <noreply@github.com>2017-12-03 19:54:40 +0100
commitee19db16185025e68b0e72afee0e685db0b52ab4 (patch)
treea2a240dba3b63cbfe4bdbfda0d3342614dba357d
parentMerge pull request #386 from meetfranz/feature/improve-mute (diff)
parentfix(Windows): Open window when clicking on toast notification (diff)
downloadferdium-app-ee19db16185025e68b0e72afee0e685db0b52ab4.tar.gz
ferdium-app-ee19db16185025e68b0e72afee0e685db0b52ab4.tar.zst
ferdium-app-ee19db16185025e68b0e72afee0e685db0b52ab4.zip
Merge pull request #393 from meetfranz/feature/370-notification-click
[PR] Open window when clicking on toast notification
-rw-r--r--src/stores/AppStore.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/stores/AppStore.js b/src/stores/AppStore.js
index 6125a7cff..8c55a350d 100644
--- a/src/stores/AppStore.js
+++ b/src/stores/AppStore.js
@@ -163,6 +163,11 @@ export default class AppStore extends Store {
163 }); 163 });
164 164
165 this.actions.service.setActive({ serviceId }); 165 this.actions.service.setActive({ serviceId });
166
167 if (!isMac) {
168 const mainWindow = remote.getCurrentWindow();
169 mainWindow.restore();
170 }
166 } 171 }
167 }; 172 };
168 } 173 }