From 30d1dad60619cbb03a8e91fc2e5d425f33b68dad Mon Sep 17 00:00:00 2001 From: Benjamin Verdier Date: Fri, 22 Jun 2018 16:24:36 +0200 Subject: [PATCH] Fix resizing bug for some messages. --- Classes/ChatConversationView.m | 1 - .../Base.lproj/UIChatBubblePhotoCell.xib | 45 ++++++++--------- Classes/LinphoneUI/UIChatBubblePhotoCell.h | 1 + Classes/LinphoneUI/UIChatBubblePhotoCell.m | 11 +++-- Classes/LinphoneUI/UIChatBubbleTextCell.m | 48 +++++++++++-------- 5 files changed, 60 insertions(+), 46 deletions(-) diff --git a/Classes/ChatConversationView.m b/Classes/ChatConversationView.m index eab6b8f50..0c43ee9e8 100644 --- a/Classes/ChatConversationView.m +++ b/Classes/ChatConversationView.m @@ -309,7 +309,6 @@ static UICompositeViewDescription *compositeDescription = nil; } - (void)saveAndSend:(UIImage *)image assetId:(NSString *)phAssetId withQuality:(float)quality{ - // photo from Camera, must be saved first [self startImageUpload:image assetId:phAssetId withQuality:quality]; } diff --git a/Classes/LinphoneUI/Base.lproj/UIChatBubblePhotoCell.xib b/Classes/LinphoneUI/Base.lproj/UIChatBubblePhotoCell.xib index 65e3aef60..ec2e12142 100644 --- a/Classes/LinphoneUI/Base.lproj/UIChatBubblePhotoCell.xib +++ b/Classes/LinphoneUI/Base.lproj/UIChatBubblePhotoCell.xib @@ -1,5 +1,5 @@ - + @@ -21,6 +21,7 @@ + @@ -35,19 +36,19 @@ - + - + - + - + @@ -55,7 +56,7 @@ -