Skip to content

Commit

Permalink
Merge pull request #3 from corollari/bug1
Browse files Browse the repository at this point in the history
Fix error in settings pane
  • Loading branch information
uvmetal committed Dec 27, 2019
2 parents a68f98c + d4f4a82 commit 37fec73
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/Ui/Main/Main.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,8 @@ class AppMain extends Component {

this.writeUserSettings()

if (e.target.checked) {
if (this.state.darkMode) {
require('./style.css')

} else {
require('./style-light.css')
}
Expand Down

0 comments on commit 37fec73

Please sign in to comment.