File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -58,9 +58,7 @@ app.on('ready', function(){
5858
5959 function hideWindow ( ) {
6060 if ( ! appIcon . window ) return ;
61- appIcon . emit ( 'hide' ) ;
6261 appIcon . window . hide ( ) ;
63- appIcon . emit ( 'after-hide' ) ;
6462 }
6563
6664 ipc . on ( 'reopen-window' , function ( event ) {
Original file line number Diff line number Diff line change 11var React = require ( 'react' ) ;
22var Reflux = require ( 'Reflux' ) ;
3+ var ipc = window . require ( 'ipc' ) ;
34
45var Actions = require ( '../actions/actions' ) ;
56var AuthStore = require ( '../stores/auth' ) ;
@@ -44,6 +45,7 @@ var Navigation = React.createClass({
4445 logOut : function ( ) {
4546 Actions . logout ( ) ;
4647 this . context . router . transitionTo ( 'login' ) ;
48+ ipc . sendChannel ( 'update-icon' , "IconPlain" ) ;
4749 } ,
4850
4951 render : function ( ) {
You can’t perform that action at this time.
0 commit comments