Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -172,28 +172,28 @@ const RoomSummaryCardView: React.FC<IProps> = ({
>
{!vm.isDirectMessage && vm.roomJoinRule === JoinRule.Public && (
<Badge kind="blue">
<PublicIcon width="1rem" color="var(--cpd-color-icon-info-primary)" />
<PublicIcon width="1rem" height="1rem" color="var(--cpd-color-icon-info-primary)" />
{_t("common|public_room")}
</Badge>
)}

{vm.isRoomEncrypted && vm.e2eStatus !== E2EStatus.Warning && (
<Badge kind="green">
<LockIcon width="1rem" />
<LockIcon width="1rem" height="1rem" />
{_t("common|encrypted")}
</Badge>
)}

{!vm.isRoomEncrypted && (
<Badge kind="blue">
<LockOffIcon width="1rem" color="var(--cpd-color-icon-info-primary)" />
<LockOffIcon width="1rem" height="1rem" color="var(--cpd-color-icon-info-primary)" />
{_t("common|unencrypted")}
</Badge>
)}

{vm.e2eStatus === E2EStatus.Warning && (
<Badge kind="red">
<ErrorSolidIcon width="1rem" />
<ErrorSolidIcon width="1rem" height="1rem" />
{_t("common|not_trusted")}
</Badge>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ exports[`<RoomSummaryCard /> has button to edit topic 1`] = `
<svg
color="var(--cpd-color-icon-info-primary)"
fill="currentColor"
height="1em"
height="1rem"
viewBox="0 0 24 24"
width="1rem"
xmlns="http://www.w3.org/2000/svg"
Expand All @@ -97,7 +97,7 @@ exports[`<RoomSummaryCard /> has button to edit topic 1`] = `
<svg
color="var(--cpd-color-icon-info-primary)"
fill="currentColor"
height="1em"
height="1rem"
viewBox="0 0 24 24"
width="1rem"
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -818,7 +818,7 @@ exports[`<RoomSummaryCard /> renders the room summary 1`] = `
<svg
color="var(--cpd-color-icon-info-primary)"
fill="currentColor"
height="1em"
height="1rem"
viewBox="0 0 24 24"
width="1rem"
xmlns="http://www.w3.org/2000/svg"
Expand All @@ -836,7 +836,7 @@ exports[`<RoomSummaryCard /> renders the room summary 1`] = `
<svg
color="var(--cpd-color-icon-info-primary)"
fill="currentColor"
height="1em"
height="1rem"
viewBox="0 0 24 24"
width="1rem"
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -1515,7 +1515,7 @@ exports[`<RoomSummaryCard /> renders the room topic in the summary 1`] = `
<svg
color="var(--cpd-color-icon-info-primary)"
fill="currentColor"
height="1em"
height="1rem"
viewBox="0 0 24 24"
width="1rem"
xmlns="http://www.w3.org/2000/svg"
Expand All @@ -1533,7 +1533,7 @@ exports[`<RoomSummaryCard /> renders the room topic in the summary 1`] = `
<svg
color="var(--cpd-color-icon-info-primary)"
fill="currentColor"
height="1em"
height="1rem"
viewBox="0 0 24 24"
width="1rem"
xmlns="http://www.w3.org/2000/svg"
Expand Down
Loading