1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-20 16:22:28 +03:00

Merge remote-tracking branch 'origin/develop' into dbkr/fix_session_restore_fail_dialog_ux

This commit is contained in:
David Baker
2018-04-30 14:06:32 +01:00
7 changed files with 428 additions and 50 deletions

View File

@@ -360,7 +360,7 @@ export default React.createClass({
// Note we don't catch errors from this: we catch everything within
// loadSession as there's logic there to ask the user if they want
// to try logging out.
}).done();
});
},
componentWillUnmount: function() {

View File

@@ -37,9 +37,9 @@ export default React.createClass({
propTypes: {
// onFinished callback to call when Escape is pressed
// Take a boolean which is true is the dialog was dismissed
// Take a boolean which is true if the dialog was dismissed
// with a positive / confirm action or false if it was
// cancelled (from BaseDialog, this is always false).
// cancelled (BaseDialog itself only calls this with false).
onFinished: PropTypes.func.isRequired,
// Whether the dialog should have a 'close' button that will