diff options
author | Stefan <stefan@adlk.io> | 2017-12-02 23:16:57 +0100 |
---|---|---|
committer | Stefan <stefan@adlk.io> | 2017-12-02 23:16:57 +0100 |
commit | b82bbc8459f1ad140755bfbdfcbae9390162d5c4 (patch) | |
tree | a2a240dba3b63cbfe4bdbfda0d3342614dba357d | |
parent | Merge pull request #386 from meetfranz/feature/improve-mute (diff) | |
download | ferdium-app-b82bbc8459f1ad140755bfbdfcbae9390162d5c4.tar.gz ferdium-app-b82bbc8459f1ad140755bfbdfcbae9390162d5c4.tar.zst ferdium-app-b82bbc8459f1ad140755bfbdfcbae9390162d5c4.zip |
fix(Windows): Open window when clicking on toast notification
Closes #370
-rw-r--r-- | src/stores/AppStore.js | 5 |
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 | } |