convert attribute to class

This commit is contained in:
Eric Newport 2018-04-28 12:39:25 -04:00
parent d42fa9d17a
commit 55566b35a2
2 changed files with 4 additions and 4 deletions

View file

@ -745,7 +745,7 @@ function E2ePadlock(props) {
if (SettingsStore.getValue("alwaysShowEncryptionIcons")) {
return <img className="mx_EventTile_e2eIcon" {...props} />;
} else {
return <img className="mx_EventTile_e2eIcon" hidden {...props} />;
return <img className="mx_EventTile_e2eIcon hidden" {...props} />;
}
}