Skip to content

Commit

Permalink
fix dense option
Browse files Browse the repository at this point in the history
  • Loading branch information
Yury Shapkarin committed Jan 31, 2020
1 parent f927127 commit 32f9f3b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/options/components/options.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ export default class Options extends React.Component {
constructor(props) {
super(props);
this.state = {
showUrl: window.localStorage.getItem('showURL') || false,
isSeparated: window.localStorage.getItem('isSeparated') || false,
isCollapsed: window.localStorage.getItem('isCollapsed') || true,
showUrl: window.localStorage.getItem('showURL') === 'true',
isSeparated: window.localStorage.getItem('isSeparated') === 'true',
isCollapsed: window.localStorage.getItem('isCollapsed') === 'true',
theme: window.localStorage.getItem('theme') || DEFAULT_THEME
};
this.changeTheme = this.changeTheme.bind(this);
Expand Down

0 comments on commit 32f9f3b

Please sign in to comment.