Fix RightPanelStore imports
This commit is contained in:
parent
9bbb7a5310
commit
19fa08aafa
2 changed files with 5 additions and 4 deletions
|
@ -27,12 +27,12 @@ import CustomStatusController from "./controllers/CustomStatusController";
|
||||||
import ThemeController from './controllers/ThemeController';
|
import ThemeController from './controllers/ThemeController';
|
||||||
import PushToMatrixClientController from './controllers/PushToMatrixClientController';
|
import PushToMatrixClientController from './controllers/PushToMatrixClientController';
|
||||||
import ReloadOnChangeController from "./controllers/ReloadOnChangeController";
|
import ReloadOnChangeController from "./controllers/ReloadOnChangeController";
|
||||||
import { RIGHT_PANEL_PHASES } from "../stores/RightPanelStorePhases";
|
|
||||||
import FontSizeController from './controllers/FontSizeController';
|
import FontSizeController from './controllers/FontSizeController';
|
||||||
import SystemFontController from './controllers/SystemFontController';
|
import SystemFontController from './controllers/SystemFontController';
|
||||||
import UseSystemFontController from './controllers/UseSystemFontController';
|
import UseSystemFontController from './controllers/UseSystemFontController';
|
||||||
import { SettingLevel } from "./SettingLevel";
|
import { SettingLevel } from "./SettingLevel";
|
||||||
import SettingController from "./controllers/SettingController";
|
import SettingController from "./controllers/SettingController";
|
||||||
|
import { RightPanelPhases } from "../stores/RightPanelStorePhases";
|
||||||
|
|
||||||
// These are just a bunch of helper arrays to avoid copy/pasting a bunch of times
|
// These are just a bunch of helper arrays to avoid copy/pasting a bunch of times
|
||||||
const LEVELS_ROOM_SETTINGS = [
|
const LEVELS_ROOM_SETTINGS = [
|
||||||
|
@ -547,11 +547,11 @@ export const SETTINGS: {[setting: string]: ISetting} = {
|
||||||
},
|
},
|
||||||
"lastRightPanelPhaseForRoom": {
|
"lastRightPanelPhaseForRoom": {
|
||||||
supportedLevels: LEVELS_DEVICE_ONLY_SETTINGS,
|
supportedLevels: LEVELS_DEVICE_ONLY_SETTINGS,
|
||||||
default: RIGHT_PANEL_PHASES.RoomMemberInfo,
|
default: RightPanelPhases.RoomMemberInfo,
|
||||||
},
|
},
|
||||||
"lastRightPanelPhaseForGroup": {
|
"lastRightPanelPhaseForGroup": {
|
||||||
supportedLevels: LEVELS_DEVICE_ONLY_SETTINGS,
|
supportedLevels: LEVELS_DEVICE_ONLY_SETTINGS,
|
||||||
default: RIGHT_PANEL_PHASES.GroupMemberList,
|
default: RightPanelPhases.GroupMemberList,
|
||||||
},
|
},
|
||||||
"enableEventIndexing": {
|
"enableEventIndexing": {
|
||||||
supportedLevels: LEVELS_DEVICE_ONLY_SETTINGS,
|
supportedLevels: LEVELS_DEVICE_ONLY_SETTINGS,
|
||||||
|
|
|
@ -17,10 +17,11 @@ limitations under the License.
|
||||||
import dis from '../dispatcher/dispatcher';
|
import dis from '../dispatcher/dispatcher';
|
||||||
import {pendingVerificationRequestForUser} from '../verification';
|
import {pendingVerificationRequestForUser} from '../verification';
|
||||||
import {Store} from 'flux/utils';
|
import {Store} from 'flux/utils';
|
||||||
import SettingsStore, {SettingLevel} from "../settings/SettingsStore";
|
import SettingsStore from "../settings/SettingsStore";
|
||||||
import {RightPanelPhases, RIGHT_PANEL_PHASES_NO_ARGS} from "./RightPanelStorePhases";
|
import {RightPanelPhases, RIGHT_PANEL_PHASES_NO_ARGS} from "./RightPanelStorePhases";
|
||||||
import {ActionPayload} from "../dispatcher/payloads";
|
import {ActionPayload} from "../dispatcher/payloads";
|
||||||
import {Action} from '../dispatcher/actions';
|
import {Action} from '../dispatcher/actions';
|
||||||
|
import { SettingLevel } from "../settings/SettingLevel";
|
||||||
|
|
||||||
interface RightPanelStoreState {
|
interface RightPanelStoreState {
|
||||||
// Whether or not to show the right panel at all. We split out rooms and groups
|
// Whether or not to show the right panel at all. We split out rooms and groups
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue