diff options
author | Renard | 2019-10-04 15:48:18 -0300 |
---|---|---|
committer | Renard | 2019-10-04 15:48:18 -0300 |
commit | 2b10f1dbcb4149c0a42982a025d8c31fd1bc0177 (patch) | |
tree | 2916111f69a62dcaa05c83d0b3f306190f4ba6ba /src/Settings.js | |
parent | 109467d1a7c00a904d9baac57fdb03c392ec9a1b (diff) | |
download | bai-client-2b10f1dbcb4149c0a42982a025d8c31fd1bc0177.tar.gz bai-client-2b10f1dbcb4149c0a42982a025d8c31fd1bc0177.tar.xz bai-client-2b10f1dbcb4149c0a42982a025d8c31fd1bc0177.zip |
Setting: Colorear IDS
Diffstat (limited to 'src/Settings.js')
-rw-r--r-- | src/Settings.js | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/src/Settings.js b/src/Settings.js index 8d187ae..efc8995 100644 --- a/src/Settings.js +++ b/src/Settings.js @@ -35,7 +35,8 @@ class SettingsModal extends Component { autoUpdateThreads: true, showAvatars: true, postPassword: "", - embedYoutube: true + embedYoutube: true, + colorifyIDs: true }; this.handleChange = this.handleChange.bind(this); this.toggleSetting = this.toggleSetting.bind(this); @@ -52,7 +53,8 @@ class SettingsModal extends Component { autoUpdateThreads: settings.autoUpdateThreads, showAvatars: settings.showAvatars, postPassword: settings.postPassword, - embedYoutube: settings.embedYoutube + embedYoutube: settings.embedYoutube, + colorifyIDs: settings.colorifyIDs }); } @@ -88,7 +90,8 @@ class SettingsModal extends Component { notifyOnThread, postPassword, showAvatars, - embedYoutube + embedYoutube, + colorifyIDs } = this.state; return ( <Modal trigger={this.props.trigger} size="tiny" centered={false}> @@ -112,6 +115,13 @@ class SettingsModal extends Component { onChange={this.toggleSetting} className="settingCheckbox" /> + <Checkbox + label="Colorear ID's de Posts" + checked={colorifyIDs} + name="colorifyIDs" + onChange={this.toggleSetting} + className="settingCheckbox" + /> <Header as="h4" dividing> Comportamiento </Header> |