diff --git a/res/css/views/rooms/_EventTile.scss b/res/css/views/rooms/_EventTile.scss index 90fd3e92032..592f98590cc 100644 --- a/res/css/views/rooms/_EventTile.scss +++ b/res/css/views/rooms/_EventTile.scss @@ -432,7 +432,7 @@ $left-gutter: 64px; } } -.mx_EventTile_e2eIcon_undecryptable, .mx_EventTile_e2eIcon_unverified { +.mx_EventTile_e2eIcon_warning { &::after { mask-image: url('$(res)/img/e2e/warning.svg'); background-color: $notice-primary-color; @@ -440,23 +440,7 @@ $left-gutter: 64px; opacity: 1; } -.mx_EventTile_e2eIcon_unknown { - &::after { - mask-image: url('$(res)/img/e2e/warning.svg'); - background-color: $notice-primary-color; - } - opacity: 1; -} - -.mx_EventTile_e2eIcon_unencrypted { - &::after { - mask-image: url('$(res)/img/e2e/warning.svg'); - background-color: $notice-primary-color; - } - opacity: 1; -} - -.mx_EventTile_e2eIcon_unauthenticated { +.mx_EventTile_e2eIcon_normal { &::after { mask-image: url('$(res)/img/e2e/normal.svg'); background-color: $composer-e2e-icon-color; diff --git a/src/components/views/rooms/EventTile.tsx b/src/components/views/rooms/EventTile.tsx index cf2bed86040..a48d8bd4a49 100644 --- a/src/components/views/rooms/EventTile.tsx +++ b/src/components/views/rooms/EventTile.tsx @@ -1405,25 +1405,25 @@ export function haveTileForEvent(e: MatrixEvent, showHiddenEvents?: boolean) { function E2ePadlockUndecryptable(props) { return ( - + ); } function E2ePadlockUnverified(props) { return ( - + ); } function E2ePadlockUnencrypted(props) { return ( - + ); } function E2ePadlockUnknown(props) { return ( - + ); }