You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
1.7 KiB
2 lines
1.7 KiB
(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{1089:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=p(n(6)),u=p(n(3)),a=p(n(4)),i=p(n(7)),l=p(n(8)),s=p(n(0)),r=p(n(1)),d=p(n(5)),c=n(2);function p(e){return e&&e.__esModule?e:{default:e}}var f=function(e){function t(){var e,n,a,l;(0,u.default)(this,t);for(var s=arguments.length,r=Array(s),d=0;d<s;d++)r[d]=arguments[d];return n=a=(0,i.default)(this,(e=t.__proto__||(0,o.default)(t)).call.apply(e,[this].concat(r))),a.onDontAskAgainClick=function(){a.props.onFinished(),a.props.onDontAskAgain()},a.onSetupClick=function(){a.props.onFinished(),a.props.onSetup()},l=n,(0,i.default)(a,l)}return(0,l.default)(t,e),(0,a.default)(t,[{key:"render",value:function(){var e=d.default.getComponent("views.dialogs.BaseDialog"),t=d.default.getComponent("views.elements.DialogButtons");return s.default.createElement(e,{className:"mx_IgnoreRecoveryReminderDialog",onFinished:this.props.onFinished,title:(0,c._t)("Are you sure?")},s.default.createElement("div",null,s.default.createElement("p",null,(0,c._t)("Without setting up Secure Message Recovery, you'll lose your secure message history when you log out.")),s.default.createElement("p",null,(0,c._t)("If you don't want to set this up now, you can later in Settings.")),s.default.createElement("div",{className:"mx_Dialog_buttons"},s.default.createElement(t,{primaryButton:(0,c._t)("Set up"),onPrimaryButtonClick:this.onSetupClick,cancelButton:(0,c._t)("Don't ask again"),onCancel:this.onDontAskAgainClick}))))}}]),t}(s.default.PureComponent);f.propTypes={onDontAskAgain:r.default.func.isRequired,onFinished:r.default.func.isRequired,onSetup:r.default.func.isRequired},t.default=f,e.exports=t.default}}]);
|
|
//# sourceMappingURL=12.js.map
|