Better labeling of images and stickers

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-07-19 18:04:33 +02:00
parent 28f5827884
commit 5d5b9f6022
No known key found for this signature in database
GPG key ID: 55C211A1226CB17D
3 changed files with 8 additions and 33 deletions

View file

@ -451,7 +451,7 @@ export default class MImageBody extends React.Component<IProps, IState> {
}
// Overidden by MStickerBody
protected getFileBody(): JSX.Element {
protected getFileBody(): string | JSX.Element {
return <MFileBody {...this.props} decryptedBlob={this.state.decryptedBlob} showGenericPlaceholder={false} />;
}