Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Fix menus on Linux. Fix #735
Browse files Browse the repository at this point in the history
Auditors: @diracdeltas
  • Loading branch information
bbondy committed Feb 11, 2016
1 parent 0dd5619 commit c320a2b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ const AppActions = require('../js/actions/appActions')
const CommonMenu = require('../js/commonMenu')
const Filtering = require('./filtering')

const isWindows = process.platform === 'win32'
const isDarwin = process.platform === 'darwin'

const issuesUrl = 'https://github.com/brave/browser-laptop/issues'
Expand Down Expand Up @@ -182,7 +181,7 @@ const init = (args) => {
}
]

if (isWindows) {
if (!isDarwin) {
fileMenu.push(CommonMenu.separatorMenuItem)
fileMenu.push(CommonMenu.quitMenuItem)
helpMenu.push(CommonMenu.separatorMenuItem)
Expand Down

1 comment on commit c320a2b

@diracdeltas
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

Please sign in to comment.