mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-09 00:30:28 +03:00
Add room upgrade option in room settings (#2280)
* add room upgrade option in room settings * update upgrade room dialog styles
This commit is contained in:
parent
f688e2d1ae
commit
c16e060f73
2 changed files with 222 additions and 0 deletions
|
|
@ -8,6 +8,7 @@ import { RoomEncryption } from './RoomEncryption';
|
|||
import { RoomHistoryVisibility } from './RoomHistoryVisibility';
|
||||
import { RoomJoinRules } from './RoomJoinRules';
|
||||
import { RoomLocalAddresses, RoomPublishedAddresses } from './RoomAddress';
|
||||
import { RoomUpgrade } from './RoomUpgrade';
|
||||
|
||||
type GeneralProps = {
|
||||
requestClose: () => void;
|
||||
|
|
@ -48,6 +49,10 @@ export function General({ requestClose }: GeneralProps) {
|
|||
<RoomPublishedAddresses powerLevels={powerLevels} />
|
||||
<RoomLocalAddresses powerLevels={powerLevels} />
|
||||
</Box>
|
||||
<Box direction="Column" gap="100">
|
||||
<Text size="L400">Advance Options</Text>
|
||||
<RoomUpgrade powerLevels={powerLevels} requestClose={requestClose} />
|
||||
</Box>
|
||||
</Box>
|
||||
</PageContent>
|
||||
</Scroll>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue