diff options
-rw-r--r-- | src/App.js | 2 | ||||
-rw-r--r-- | src/Board.js | 8 | ||||
-rw-r--r-- | src/Settings.js | 6 |
3 files changed, 6 insertions, 10 deletions
@@ -85,7 +85,7 @@ class App extends Component { settings[key] = defaultSettings[key]; } }); - localStorage.setItem("settings", JSON.stringify(defaultSettings)); + localStorage.setItem("settings", JSON.stringify(settings)); this.setState({ nightMode: settings.nightMode }); } } diff --git a/src/Board.js b/src/Board.js index 6992bd3..5560ada 100644 --- a/src/Board.js +++ b/src/Board.js @@ -144,11 +144,9 @@ class Board extends Component { {currentBoard.name} <Header.Subheader>/{currentBoard.dir}/</Header.Subheader> </Header> - <p> - <div - dangerouslySetInnerHTML={{ __html: currentBoard.postarea_desc }} - ></div> - </p> + <div + dangerouslySetInnerHTML={{ __html: currentBoard.postarea_desc }} + ></div> </Segment> <Button.Group widths={5} basic={!nightMode} secondary={nightMode}> <Button as={Link} to={`/list/${currentBoard.dir}`}> diff --git a/src/Settings.js b/src/Settings.js index 209fed5..dbfbcf7 100644 --- a/src/Settings.js +++ b/src/Settings.js @@ -28,8 +28,8 @@ class SettingsModal extends Component { super(props); this.state = { homeSound: "msn", - threadSound: "dootdoot", - nightMode: true, + threadSound: "msn", + nightMode: false, notifyOnHome: true, notifyOnThread: true, autoUpdateThreads: true, @@ -160,7 +160,6 @@ class SettingsModal extends Component { Sonido de notificación:{" "} <Dropdown inline - select scrolling options={notificationSounds} value={homeSound} @@ -180,7 +179,6 @@ class SettingsModal extends Component { Sonido de notificación :{" "} <Dropdown inline - select scrolling options={notificationSounds} value={threadSound} |