mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-18 05:00:29 +03:00
Add btn and hotkey to close room settings (#269)
Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
parent
f310196937
commit
0c32d5302c
4 changed files with 58 additions and 6 deletions
|
|
@ -127,7 +127,8 @@ function SpaceSettings() {
|
|||
className="space-settings"
|
||||
title={(
|
||||
<Text variant="s1" weight="medium" primary>
|
||||
{twemojify(isOpen ? `${room.name} - space settings` : 'Space settings')}
|
||||
{isOpen && twemojify(room.name)}
|
||||
<span style={{ color: 'var(--tc-surface-low)' }}> — space settings</span>
|
||||
</Text>
|
||||
)}
|
||||
contentOptions={<IconButton src={CrossIC} onClick={requestClose} tooltip="Close" />}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue