diff --git a/res/css/views/rooms/_EventTile.scss b/res/css/views/rooms/_EventTile.scss index eb0e1dd7b0..3b9a491db5 100644 --- a/res/css/views/rooms/_EventTile.scss +++ b/res/css/views/rooms/_EventTile.scss @@ -394,16 +394,6 @@ $left-gutter: 64px; opacity: 1; } -.mx_EventTile_e2eIcon_hidden { - display: none; -} - -/* always override hidden attribute for blocked and warning */ -.mx_EventTile_e2eIcon_hidden[src*="img/e2e-blocked.svg"], -.mx_EventTile_e2eIcon_hidden[src*="img/e2e-warning.svg"] { - display: block; -} - .mx_EventTile_keyRequestInfo { font-size: $font-12px; } diff --git a/src/components/views/rooms/EventTile.js b/src/components/views/rooms/EventTile.js index 647ef585d7..ab9f240f2d 100644 --- a/src/components/views/rooms/EventTile.js +++ b/src/components/views/rooms/EventTile.js @@ -1027,11 +1027,7 @@ class E2ePadlock extends React.Component { tooltip = ; } - let classes = `mx_EventTile_e2eIcon mx_EventTile_e2eIcon_${this.props.icon}`; - if (!SettingsStore.getValue("alwaysShowEncryptionIcons")) { - classes += ' mx_EventTile_e2eIcon_hidden'; - } - + const classes = `mx_EventTile_e2eIcon mx_EventTile_e2eIcon_${this.props.icon}`; return (