Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Commit

Permalink
Changes setting name to reset it for everyone
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandru Rosianu committed May 4, 2015
1 parent 6ee3d42 commit 4907c5c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if (platform.isWindows) {
}

// Run as menu bar app
if (settings.asMenuBarApp) {
if (settings.asMenuBarAppOSX) {
win.setShowInTaskbar(false);
menus.loadTrayIcon(win);
}
Expand Down
4 changes: 2 additions & 2 deletions src/components/menus.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ module.exports = {
}, {
type: 'checkbox',
label: 'Run as Menu Bar App',
setting: 'asMenuBarApp',
setting: 'asMenuBarAppOSX',
platforms: ['osx'],
click: function() {
settings.asMenuBarApp = this.checked;
settings.asMenuBarAppOSX = this.checked;
win.setShowInTaskbar(!this.checked);

if (this.checked) {
Expand Down
2 changes: 1 addition & 1 deletion src/components/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var DEFAULT_SETTINGS = {
launchOnStartup: false,
openLinksInBrowser: true,
autoHideSidebar: false,
asMenuBarApp: false,
asMenuBarAppOSX: false,
windowState: {},
theme: 'default'
};
Expand Down

0 comments on commit 4907c5c

Please sign in to comment.