yarn ready

pull/1846/head
Warrick Corfe-Tan 4 years ago
parent 48b4aab63c
commit b26ec1996d

@ -95,13 +95,7 @@ class SessionRecordingInner extends React.Component<Props, State> {
// tslint:disable-next-line: cyclomatic-complexity
public render() {
const {
isPlaying,
isPaused,
isRecording,
startTimestamp,
nowTimestamp,
} = this.state;
const { isPlaying, isPaused, isRecording, startTimestamp, nowTimestamp } = this.state;
const hasRecordingAndPaused = !isRecording && !isPlaying;
const hasRecording = !!this.audioElement?.duration && this.audioElement?.duration > 0;

@ -171,12 +171,12 @@ async function processPreviews(message: MessageModel, convo: ConversationModel):
const image = message.isTrustedForAttachmentDownload()
? await AttachmentDownloads.addJob(item.image, {
messageId: message.id,
type: 'preview',
index,
isOpenGroupV2,
openGroupV2Details,
})
messageId: message.id,
type: 'preview',
index,
isOpenGroupV2,
openGroupV2Details,
})
: null;
return { ...item, image };

Loading…
Cancel
Save