From 8aa46b30054d2eb1157ada5be574b333cc4ab3cc Mon Sep 17 00:00:00 2001 From: Germain Date: Tue, 20 Jun 2023 12:58:03 +0100 Subject: [PATCH] Restore breadcrumb preference setting (#11116) * Restore breadcrumb preference setting * restore snapshot --- .../tabs/user/PreferencesUserSettingsTab.tsx | 2 - .../PreferencesUserSettingsTab-test.tsx.snap | 42 +++++++++++++++++++ 2 files changed, 42 insertions(+), 2 deletions(-) diff --git a/src/components/views/settings/tabs/user/PreferencesUserSettingsTab.tsx b/src/components/views/settings/tabs/user/PreferencesUserSettingsTab.tsx index 2def23fb782..e0f27c2c74f 100644 --- a/src/components/views/settings/tabs/user/PreferencesUserSettingsTab.tsx +++ b/src/components/views/settings/tabs/user/PreferencesUserSettingsTab.tsx @@ -140,8 +140,6 @@ export default class PreferencesUserSettingsTab extends React.Component("FTUE.useCaseSelection"); const roomListSettings = PreferencesUserSettingsTab.ROOM_LIST_SETTINGS - // Only show the breadcrumbs setting if breadcrumbs v2 is disabled - .filter((it) => it !== "breadcrumbs") // Only show the user onboarding setting if the user should see the user onboarding page .filter((it) => it !== "FTUE.userOnboardingButton" || showUserOnboardingPage(useCase)); diff --git a/test/components/views/settings/tabs/user/__snapshots__/PreferencesUserSettingsTab-test.tsx.snap b/test/components/views/settings/tabs/user/__snapshots__/PreferencesUserSettingsTab-test.tsx.snap index d8eb88066d5..2426d97f3a7 100644 --- a/test/components/views/settings/tabs/user/__snapshots__/PreferencesUserSettingsTab-test.tsx.snap +++ b/test/components/views/settings/tabs/user/__snapshots__/PreferencesUserSettingsTab-test.tsx.snap @@ -20,6 +20,48 @@ exports[`PreferencesUserSettingsTab should render 1`] = `
+
+
+

+ Room list +

+
+
+
+ +
+
+
+
+
+