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);
}, },