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

Commit

Permalink
Fixes window isFocused function that was not updated
Browse files Browse the repository at this point in the history
Auditors: @bbondy

Test Plan:
- try to run brave
- brave should start normally
  • Loading branch information
NejcZdovc committed Sep 17, 2017
1 parent 5938bfd commit c809e0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/renderer/components/window.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class Window extends React.Component {

mergeProps (state, ownProps) {
const props = {}
props.isFocused = isFocused()
props.isFocused = isFocused(state)

return props
}
Expand Down

0 comments on commit c809e0d

Please sign in to comment.