Update to Compound v7 (#151)
* Update to Compound v7 Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update snapshots Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update test Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
bce02634f7
commit
d9e943d9a8
5 changed files with 34 additions and 18 deletions
|
@ -297,28 +297,28 @@ const RoomSummaryCard: React.FC<IProps> = ({
|
|||
|
||||
<Flex as="section" justify="center" gap="var(--cpd-space-2x)" className="mx_RoomSummaryCard_badges">
|
||||
{!isDirectMessage && roomState.getJoinRule() === JoinRule.Public && (
|
||||
<Badge kind="default">
|
||||
<Badge kind="grey">
|
||||
<PublicIcon width="1em" />
|
||||
{_t("common|public_room")}
|
||||
</Badge>
|
||||
)}
|
||||
|
||||
{isRoomEncrypted && e2eStatus !== E2EStatus.Warning && (
|
||||
<Badge kind="success">
|
||||
<Badge kind="green">
|
||||
<LockIcon width="1em" />
|
||||
{_t("common|encrypted")}
|
||||
</Badge>
|
||||
)}
|
||||
|
||||
{!e2eStatus && (
|
||||
<Badge kind="default">
|
||||
<Badge kind="grey">
|
||||
<LockOffIcon width="1em" />
|
||||
{_t("common|unencrypted")}
|
||||
</Badge>
|
||||
)}
|
||||
|
||||
{e2eStatus === E2EStatus.Warning && (
|
||||
<Badge kind="critical">
|
||||
<Badge kind="red">
|
||||
<ErrorIcon width="1em" />
|
||||
{_t("common|not_trusted")}
|
||||
</Badge>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue