You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03:00
Add setting to disable TagPanel
This commit is contained in:
@@ -79,6 +79,7 @@ const SIMPLE_SETTINGS = [
|
|||||||
{ id: "Pill.shouldHidePillAvatar" },
|
{ id: "Pill.shouldHidePillAvatar" },
|
||||||
{ id: "TextualBody.disableBigEmoji" },
|
{ id: "TextualBody.disableBigEmoji" },
|
||||||
{ id: "VideoView.flipVideoHorizontally" },
|
{ id: "VideoView.flipVideoHorizontally" },
|
||||||
|
{ id: "TagPanel.disableTagPanel" },
|
||||||
];
|
];
|
||||||
|
|
||||||
// These settings must be defined in SettingsStore
|
// These settings must be defined in SettingsStore
|
||||||
|
|||||||
@@ -188,6 +188,11 @@ export const SETTINGS = {
|
|||||||
displayName: _td('Mirror local video feed'),
|
displayName: _td('Mirror local video feed'),
|
||||||
default: false,
|
default: false,
|
||||||
},
|
},
|
||||||
|
"TagPanel.disableTagPanel": {
|
||||||
|
supportedLevels: LEVELS_ACCOUNT_SETTINGS,
|
||||||
|
displayName: _td('Disable Community Filter Panel'),
|
||||||
|
default: false,
|
||||||
|
},
|
||||||
"theme": {
|
"theme": {
|
||||||
supportedLevels: LEVELS_ACCOUNT_SETTINGS,
|
supportedLevels: LEVELS_ACCOUNT_SETTINGS,
|
||||||
default: "light",
|
default: "light",
|
||||||
|
|||||||
Reference in New Issue
Block a user