diff options
author | Renard | 2019-10-05 13:17:40 -0300 |
---|---|---|
committer | Renard | 2019-10-05 13:17:40 -0300 |
commit | d952d13107ddc4b78e7c9945ac96959b7036f222 (patch) | |
tree | e5d62fbcb67a30c24ec7cb254aa55cfb7ef201d2 | |
parent | fb94936553b5a9a9b853f3a81fda341948d7df98 (diff) | |
download | bai-client-d952d13107ddc4b78e7c9945ac96959b7036f222.tar.gz bai-client-d952d13107ddc4b78e7c9945ac96959b7036f222.tar.xz bai-client-d952d13107ddc4b78e7c9945ac96959b7036f222.zip |
Small bug fixes
-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} |