Embed existing notifications settings into the tab

This commit is contained in:
Travis Ralston 2019-01-23 19:31:49 -07:00
parent 73bce4d645
commit d267f232bc
3 changed files with 50 additions and 4 deletions

View file

@ -23,6 +23,7 @@ import GeneralSettingsTab from "../settings/tabs/GeneralSettingsTab";
import dis from '../../../dispatcher';
import SettingsStore from "../../../settings/SettingsStore";
import LabsSettingsTab from "../settings/tabs/LabsSettingsTab";
import NotificationSettingsTab from "../settings/tabs/NotificationSettingsTab";
// TODO: Ditch this whole component
export class TempTab extends React.Component {
@ -56,7 +57,7 @@ export default class UserSettingsDialog extends React.Component {
tabs.push(new Tab(
_td("Notifications"),
"mx_UserSettingsDialog_bellIcon",
<div>Notifications Test</div>,
<NotificationSettingsTab />,
));
tabs.push(new Tab(
_td("Preferences"),