don't warn when disabling crypto

This commit is contained in:
Matthew Hodgson 2016-09-17 21:56:10 +01:00
parent 5fa5489bbd
commit 53bb6b96ce

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!",