Size adjust when recording & picture only

This commit is contained in:
Christophe Deschamps 2021-07-26 10:16:51 +02:00
parent 7968c65055
commit 3dc747cf6e

View file

@ -681,7 +681,8 @@ static const CGFloat CELL_MESSAGE_Y_MARGIN = 44;
CGSize baseSize = CGSizeMake(120 + CELL_MESSAGE_X_MARGIN, 120 + CELL_MESSAGE_Y_MARGIN + textSize.height + (textSize.height != 0 ? 20 : 0));
if (voiceContent) {
baseSize = [self addVoicePlayerToSize:baseSize withMargins:true];
baseSize.height -= VOICE_RECORDING_PLAYER_HEIGHT;
baseSize.height += 10;
}
return baseSize;
}