Early modalization of UserSettings
Basically just shove it into a modal and call it good.
This commit is contained in:
parent
29be3ee4b5
commit
0e42c0892e
2 changed files with 55 additions and 2 deletions
|
@ -611,8 +611,12 @@ export default React.createClass({
|
|||
this._viewIndexedRoom(payload.roomIndex);
|
||||
break;
|
||||
case 'view_user_settings':
|
||||
this._setPage(PageTypes.UserSettings);
|
||||
this.notifyNewScreen('settings');
|
||||
const UserSettingsDialog = sdk.getComponent("dialogs.UserSettingsDialog");
|
||||
Modal.createTrackedDialog('User settings', '', UserSettingsDialog, {
|
||||
title: _t("Settings"),
|
||||
});
|
||||
//this._setPage(PageTypes.UserSettings);
|
||||
//this.notifyNewScreen('settings');
|
||||
break;
|
||||
case 'close_settings':
|
||||
this.setState({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue