You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
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:
@@ -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> {
|
||||||
|
|||||||
Reference in New Issue
Block a user