Implement the "Preferences" tab on new user settings

This commit is contained in:
Travis Ralston 2019-01-23 21:36:42 -07:00
parent 479b354d97
commit 5479a4dac5
5 changed files with 162 additions and 4 deletions

View file

@ -24,6 +24,7 @@ import dis from '../../../dispatcher';
import SettingsStore from "../../../settings/SettingsStore";
import LabsSettingsTab from "../settings/tabs/LabsSettingsTab";
import NotificationSettingsTab from "../settings/tabs/NotificationSettingsTab";
import PreferencesSettingsTab from "../settings/tabs/PreferencesSettingsTab";
// TODO: Ditch this whole component
export class TempTab extends React.Component {
@ -62,7 +63,7 @@ export default class UserSettingsDialog extends React.Component {
tabs.push(new Tab(
_td("Preferences"),
"mx_UserSettingsDialog_preferencesIcon",
<div>Preferences Test</div>,
<PreferencesSettingsTab />,
));
tabs.push(new Tab(
_td("Voice & Video"),