Hide breadcrumb option when new room list is enabled (#30869)

* fix: hide breadcrumb option when new room list is enabled

* test: update snapshot

* test(e2e): update screenshot
This commit is contained in:
Florian Duros
2025-09-24 18:23:48 +02:00
committed by GitHub
parent 2f238ed300
commit 4cd5991cac
3 changed files with 187 additions and 214 deletions

View File

@@ -265,7 +265,7 @@ export default class PreferencesUserSettingsTab extends React.Component<IProps,
</SettingsSubsection>
<SettingsSubsection heading={_t("settings|preferences|room_list_heading")}>
{this.renderGroup(PreferencesUserSettingsTab.ROOM_LIST_SETTINGS)}
{!newRoomListEnabled && this.renderGroup(PreferencesUserSettingsTab.ROOM_LIST_SETTINGS)}
{/* The settings is on device level where the other room list settings are on account level */}
{newRoomListEnabled && (
<SettingsFlag name="RoomList.showMessagePreview" level={SettingLevel.DEVICE} />