1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

Clarify comment

This commit is contained in:
David Baker
2016-01-18 14:23:31 +00:00
parent 7045906d5d
commit 0ac997491e

View File

@@ -700,9 +700,10 @@ module.exports = React.createClass({
// This now goes straight to user settings // This now goes straight to user settings
// We use _setPage since if we wait for // We use _setPage since if we wait for
// showScreen to do the dispatch loop, // showScreen to do the dispatch loop,
// we'll see the page type is still unset // the showScreen dispatch will race with the
// when the MatrixClient is started and show // sdk sync finishing and we'll probably see
// the Room Directory instead. // the page type still unset when the MatrixClient
// is started and show the Room Directory instead.
//this.showScreen("view_user_settings"); //this.showScreen("view_user_settings");
this._setPage(this.PageTypes.UserSettings); this._setPage(this.PageTypes.UserSettings);
}, },