don't warn when disabling crypto
This commit is contained in:
parent
5fa5489bbd
commit
53bb6b96ce
1 changed files with 2 additions and 0 deletions
|
@ -446,6 +446,8 @@ module.exports = React.createClass({
|
||||||
},
|
},
|
||||||
|
|
||||||
onEnableEncryptionClick() {
|
onEnableEncryptionClick() {
|
||||||
|
if (!this.refs.encrypt.checked) return;
|
||||||
|
|
||||||
var QuestionDialog = sdk.getComponent("dialogs.QuestionDialog");
|
var QuestionDialog = sdk.getComponent("dialogs.QuestionDialog");
|
||||||
Modal.createDialog(QuestionDialog, {
|
Modal.createDialog(QuestionDialog, {
|
||||||
title: "Warning!",
|
title: "Warning!",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue