EventIndexPanel: Move the panel from the preferences to the security tab.

This commit is contained in:
Damir Jelić 2020-01-21 10:06:04 +01:00
parent 4913d579e3
commit 908a00a13d
4 changed files with 24 additions and 8 deletions

View file

@ -144,8 +144,6 @@ export default class PreferencesUserSettingsTab extends React.Component {
}
render() {
const EventIndexPanel = sdk.getComponent('views.settings.EventIndexPanel');
let autoLaunchOption = null;
if (this.state.autoLaunchSupported) {
autoLaunchOption = <LabelledToggleSwitch
@ -174,8 +172,6 @@ export default class PreferencesUserSettingsTab extends React.Component {
<div className="mx_SettingsTab mx_PreferencesUserSettingsTab">
<div className="mx_SettingsTab_heading">{_t("Preferences")}</div>
<EventIndexPanel />
<div className="mx_SettingsTab_section">
<span className="mx_SettingsTab_subheading">{_t("Composer")}</span>
{this._renderGroup(PreferencesUserSettingsTab.COMPOSER_SETTINGS)}