Skip to content
Snippets Groups Projects
Commit 0ac99749 authored by David Baker's avatar David Baker
Browse files

Clarify comment

parent 7045906d
No related branches found
No related tags found
No related merge requests found
...@@ -700,9 +700,10 @@ module.exports = React.createClass({ ...@@ -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);
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment