swap the pronouns and font admin toggles for consistency
consistency? is this some king of Settings Menu Consistency PR 1.5??? /j
This commit is contained in:
1 file changed
+19
-19
@@ -517,25 +517,6 @@ export function Cosmetics({ requestClose }: CosmeticsProps) {
|
||||
}
|
||||
/>
|
||||
</SequenceCard>
|
||||
<SequenceCard
|
||||
className={SequenceCardStyle}
|
||||
variant="SurfaceVariant"
|
||||
direction="Column"
|
||||
gap="400"
|
||||
>
|
||||
<SettingTile
|
||||
title={isSpace ? 'Space-Wide Fonts' : 'Room Fonts'}
|
||||
description={`Allow everyone to set a font that applies in ${isSpace ? "all the space's rooms" : 'this room'}.`}
|
||||
after={
|
||||
<Switch
|
||||
variant="Primary"
|
||||
value={canHaveRoomFont}
|
||||
onChange={(enabled) => handleToggle(StateEvent.RoomCosmeticsFont, enabled)}
|
||||
disabled={!canEditPermissions}
|
||||
/>
|
||||
}
|
||||
/>
|
||||
</SequenceCard>
|
||||
<SequenceCard
|
||||
className={SequenceCardStyle}
|
||||
variant="SurfaceVariant"
|
||||
@@ -557,6 +538,25 @@ export function Cosmetics({ requestClose }: CosmeticsProps) {
|
||||
}
|
||||
/>
|
||||
</SequenceCard>
|
||||
<SequenceCard
|
||||
className={SequenceCardStyle}
|
||||
variant="SurfaceVariant"
|
||||
direction="Column"
|
||||
gap="400"
|
||||
>
|
||||
<SettingTile
|
||||
title={isSpace ? 'Space-Wide Fonts' : 'Room Fonts'}
|
||||
description={`Allow everyone to set a font that applies in ${isSpace ? "all the space's rooms" : 'this room'}.`}
|
||||
after={
|
||||
<Switch
|
||||
variant="Primary"
|
||||
value={canHaveRoomFont}
|
||||
onChange={(enabled) => handleToggle(StateEvent.RoomCosmeticsFont, enabled)}
|
||||
disabled={!canEditPermissions}
|
||||
/>
|
||||
}
|
||||
/>
|
||||
</SequenceCard>
|
||||
</Box>
|
||||
</Box>
|
||||
</PageContent>
|
||||
|
||||
Reference in new issue
Block a user