aboutsummaryrefslogtreecommitdiff
path: root/src/Settings.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/Settings.js')
-rw-r--r--src/Settings.js16
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>