mirror of
https://github.com/vector-im/element-web.git
synced 2025-11-02 17:21:25 +01:00
use LL controller in setting
This commit is contained in:
parent
a02e1aa2b2
commit
3731431e59
@ -21,7 +21,7 @@ import {
|
|||||||
NotificationBodyEnabledController,
|
NotificationBodyEnabledController,
|
||||||
NotificationsEnabledController,
|
NotificationsEnabledController,
|
||||||
} from "./controllers/NotificationControllers";
|
} from "./controllers/NotificationControllers";
|
||||||
|
import LazyLoadingController from "./controllers/LazyLoadingController";
|
||||||
|
|
||||||
// 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 = ['device', 'room-device', 'room-account', 'account', 'config'];
|
const LEVELS_ROOM_SETTINGS = ['device', 'room-device', 'room-account', 'account', 'config'];
|
||||||
@ -87,6 +87,8 @@ export const SETTINGS = {
|
|||||||
isFeature: true,
|
isFeature: true,
|
||||||
displayName: _td("Increase performance by loading room members on first view"),
|
displayName: _td("Increase performance by loading room members on first view"),
|
||||||
supportedLevels: LEVELS_FEATURE,
|
supportedLevels: LEVELS_FEATURE,
|
||||||
|
controller: new LazyLoadingController(),
|
||||||
|
default: false,
|
||||||
},
|
},
|
||||||
"MessageComposerInput.dontSuggestEmoji": {
|
"MessageComposerInput.dontSuggestEmoji": {
|
||||||
supportedLevels: LEVELS_ACCOUNT_SETTINGS,
|
supportedLevels: LEVELS_ACCOUNT_SETTINGS,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user