Make compact layout only apply to Modern layout (#7382)

This commit is contained in:
Michael Telatynski 2021-12-15 16:27:02 +00:00 committed by GitHub
parent d9da2581b4
commit 71b561d471
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 13 additions and 11 deletions

View file

@ -118,12 +118,7 @@ export default class AppearanceUserSettingsTab extends React.Component<IProps, I
{ brand },
);
advanced = <>
<SettingsFlag
name="useCompactLayout"
level={SettingLevel.DEVICE}
useCheckbox={true}
disabled={this.state.layout !== Layout.Group}
/>
<SettingsFlag name="useCompactLayout" level={SettingLevel.DEVICE} useCheckbox={true} />
{ !SettingsStore.getValue("feature_new_layout_switcher") ?
<StyledCheckbox