diff --git a/src/components/structures/RightPanel.tsx b/src/components/structures/RightPanel.tsx index 6effdc7dd41..be14c70f004 100644 --- a/src/components/structures/RightPanel.tsx +++ b/src/components/structures/RightPanel.tsx @@ -260,7 +260,6 @@ export default class RightPanel extends React.Component { } break; case RightPanelPhases.Timeline: - if (!SettingsStore.getValue("feature_maximised_widgets")) break; card = { // keep the timeline in as the mainSplitBody break; case MainSplitContentType.MaximisedWidget: - if (!SettingsStore.getValue("feature_maximised_widgets")) break; mainSplitBody = { ); } let maxMinButton; - if (SettingsStore.getValue("feature_maximised_widgets") && !this.props.hideMaximiseButton) { + if (!this.props.hideMaximiseButton) { const widgetIsMaximised = WidgetLayoutStore.instance. isInContainer(this.props.room, this.props.app, Container.Center); maxMinButton = { - if (!SettingsStore.getValue("feature_maximised_widgets")) return null; let unreadIndicator; const color = RoomNotificationStateStore.instance.getRoomState(room).color; switch (color) { diff --git a/src/components/views/right_panel/RoomSummaryCard.tsx b/src/components/views/right_panel/RoomSummaryCard.tsx index 5f0eca05517..3bdf7627b37 100644 --- a/src/components/views/right_panel/RoomSummaryCard.tsx +++ b/src/components/views/right_panel/RoomSummaryCard.tsx @@ -169,10 +169,7 @@ const AppRow: React.FC = ({ app, room }) => { { canModifyWidget && = ({ app, room }) => { disabled={cannotPin} yOffset={-24} /> - { SettingsStore.getValue("feature_maximised_widgets") && } + /> { contextMenu } ; diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index 57e11f3c913..308cf4736a9 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -865,7 +865,6 @@ "Render LaTeX maths in messages": "Render LaTeX maths in messages", "Communities v2 prototypes. Requires compatible homeserver. Highly experimental - use with caution.": "Communities v2 prototypes. Requires compatible homeserver. Highly experimental - use with caution.", "Message Pinning": "Message Pinning", - "Maximised widgets": "Maximised widgets", "Threaded messaging": "Threaded messaging", "Custom user status messages": "Custom user status messages", "Group & filter rooms by custom tags (refresh to apply changes)": "Group & filter rooms by custom tags (refresh to apply changes)", diff --git a/src/settings/Settings.tsx b/src/settings/Settings.tsx index f09eca83490..eb18eed35f1 100644 --- a/src/settings/Settings.tsx +++ b/src/settings/Settings.tsx @@ -215,13 +215,6 @@ export const SETTINGS: {[setting: string]: ISetting} = { supportedLevels: LEVELS_FEATURE, default: false, }, - "feature_maximised_widgets": { - isFeature: true, - labsGroup: LabGroup.Widgets, - displayName: _td("Maximised widgets"), - supportedLevels: LEVELS_FEATURE, - default: false, - }, "feature_thread": { isFeature: true, labsGroup: LabGroup.Messaging,