Skip to content

Commit

Permalink
Fix close/min/max buttons in <App />
Browse files Browse the repository at this point in the history
  • Loading branch information
Bartozzz committed Apr 25, 2018
1 parent a0ad7ca commit dea2530
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/scripts/components/App.jsx
Expand Up @@ -19,6 +19,8 @@ class AppWindow extends Component {
theme: MobxPropTypes.observableObject
};

window = nw.Window.get();

closeWindow = () => {
this.window.close(true);
};
Expand Down

0 comments on commit dea2530

Please sign in to comment.