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.
1 line
1.6 KiB
1 line
1.6 KiB
(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{1533:function(n,e,t){"use strict";t.r(e),t.d(e,"default",(function(){return b}));var o=t(9),a=t.n(o),i=t(8),s=t.n(i),r=t(13),u=t.n(r),c=t(12),l=t.n(c),p=t(7),d=t.n(p),g=t(14),h=t.n(g),m=t(5),y=t.n(m),f=t(0),k=t.n(f),w=t(2),v=t.n(w),A=t(3),D=t(1),b=function(n){function e(){var n,t;a()(this,e);for(var o=arguments.length,i=new Array(o),s=0;s<o;s++)i[s]=arguments[s];return t=u()(this,(n=l()(e)).call.apply(n,[this].concat(i))),y()(d()(t),"onDontAskAgainClick",(function(){t.props.onFinished(),t.props.onDontAskAgain()})),y()(d()(t),"onSetupClick",(function(){t.props.onFinished(),t.props.onSetup()})),t}return h()(e,n),s()(e,[{key:"render",value:function(){var n=A.a("views.dialogs.BaseDialog"),e=A.a("views.elements.DialogButtons");return k.a.createElement(n,{className:"mx_IgnoreRecoveryReminderDialog",onFinished:this.props.onFinished,title:Object(D.a)("Are you sure?")},k.a.createElement("div",null,k.a.createElement("p",null,Object(D.a)("Without setting up Secure Message Recovery, you'll lose your secure message history when you log out.")),k.a.createElement("p",null,Object(D.a)("If you don't want to set this up now, you can later in Settings.")),k.a.createElement("div",{className:"mx_Dialog_buttons"},k.a.createElement(e,{primaryButton:Object(D.a)("Set up"),onPrimaryButtonClick:this.onSetupClick,cancelButton:Object(D.a)("Don't ask again"),onCancel:this.onDontAskAgainClick}))))}}]),e}(k.a.PureComponent);y()(b,"propTypes",{onDontAskAgain:v.a.func.isRequired,onFinished:v.a.func.isRequired,onSetup:v.a.func.isRequired})}}]); |