Restore breadcrumb preference setting (#11116)

* Restore breadcrumb preference setting

* restore snapshot
This commit is contained in:
Germain 2023-06-20 12:58:03 +01:00 committed by GitHub
parent f81115e57e
commit 8aa46b3005
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 42 additions and 2 deletions

View file

@ -140,8 +140,6 @@ export default class PreferencesUserSettingsTab extends React.Component<IProps,
public render(): React.ReactNode {
const useCase = SettingsStore.getValue<UseCase | null>("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));