Match requested avatar size to displayed size

Reduces the blurriness of avatars in the EventTilePreview.

Signed-off-by: Robin Townsend <robin@robin.town>
This commit is contained in:
Robin Townsend 2021-05-08 21:17:05 -04:00
parent 04d566e247
commit 44b143c8c3

View file

@ -61,7 +61,7 @@ interface IState {
message: string; message: string;
} }
const AVATAR_SIZE = 32; const AVATAR_SIZE = 30;
@replaceableComponent("views.elements.EventTilePreview") @replaceableComponent("views.elements.EventTilePreview")
export default class EventTilePreview extends React.Component<IProps, IState> { export default class EventTilePreview extends React.Component<IProps, IState> {