mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-26 21:28:40 +00:00
Fix left pane draft display and GV2 typing indicators
This commit is contained in:
@@ -422,8 +422,8 @@ export class Lightbox extends React.Component<Props, State> {
|
||||
const { contentType } = this.props;
|
||||
|
||||
// These are the only image types supported by Electron's NativeImage
|
||||
if (contentType !== 'image/png' && contentType !== 'image/jpg') {
|
||||
event?.preventDefault();
|
||||
if (event && contentType !== 'image/png' && contentType !== 'image/jpg') {
|
||||
event.preventDefault();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user