Skip to content

Commit

Permalink
Fix typo that was causing problem w/ window restore status
Browse files Browse the repository at this point in the history
Fixes brave#7825

Auditors: @bbondy
  • Loading branch information
bsclifton committed Mar 22, 2017
1 parent dbe5dac commit d626336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/renderer/currentWindow.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const currentWindow = require('electron').remote.getCurrentWindow()
const currentWindowId = currentWindow.id
let isFocused = currentWindow.isFocused()
let isMaximized = currentWindow.isMaximized()
let isFullScreen = currentWindow.isMaximized()
let isFullScreen = currentWindow.isFullScreen()

currentWindow.on('maximize', function (wnd) {
isMaximized = true
Expand Down

0 comments on commit d626336

Please sign in to comment.