From 109467d1a7c00a904d9baac57fdb03c392ec9a1b Mon Sep 17 00:00:00 2001 From: Renard Date: Fri, 4 Oct 2019 15:41:10 -0300 Subject: Setting: embedYoutube --- src/Settings.js | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'src/Settings.js') diff --git a/src/Settings.js b/src/Settings.js index a0453af..8d187ae 100644 --- a/src/Settings.js +++ b/src/Settings.js @@ -34,7 +34,8 @@ class SettingsModal extends Component { notifyOnThread: true, autoUpdateThreads: true, showAvatars: true, - postPassword: "" + postPassword: "", + embedYoutube: true }; this.handleChange = this.handleChange.bind(this); this.toggleSetting = this.toggleSetting.bind(this); @@ -50,7 +51,8 @@ class SettingsModal extends Component { notifyOnThread: settings.notifyOnThread, autoUpdateThreads: settings.autoUpdateThreads, showAvatars: settings.showAvatars, - postPassword: settings.postPassword + postPassword: settings.postPassword, + embedYoutube: settings.embedYoutube }); } @@ -85,7 +87,8 @@ class SettingsModal extends Component { notifyOnHome, notifyOnThread, postPassword, - showAvatars + showAvatars, + embedYoutube } = this.state; return ( @@ -112,6 +115,13 @@ class SettingsModal extends Component {
Comportamiento
+