Skip to content

Commit

Permalink
Fix bug in settings pane
Browse files Browse the repository at this point in the history
  • Loading branch information
corollari committed Dec 27, 2019
1 parent 87ab6f6 commit d4f4a82
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 d4f4a82

Please sign in to comment.