don't warn when disabling crypto

pull/21833/head
Matthew Hodgson 2016-09-17 21:56:10 +01:00
parent 5fa5489bbd
commit 53bb6b96ce
1 changed files with 2 additions and 0 deletions

View File

@ -446,6 +446,8 @@ module.exports = React.createClass({
},
onEnableEncryptionClick() {
if (!this.refs.encrypt.checked) return;
var QuestionDialog = sdk.getComponent("dialogs.QuestionDialog");
Modal.createDialog(QuestionDialog, {
title: "Warning!",