From 69e4e8c3746e98712baf43d05dda3a73acee0c2a Mon Sep 17 00:00:00 2001 From: Christophe Deschamps Date: Wed, 17 Aug 2022 18:20:48 +0200 Subject: [PATCH] Cosmetic on dots menu & micro icon on conversation view --- Classes/ChatConversationView.m | 3 ++- Classes/LinphoneUI/UIChatBubbleTextCell.m | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Classes/ChatConversationView.m b/Classes/ChatConversationView.m index 11d9adf8d..b23ebdc3b 100644 --- a/Classes/ChatConversationView.m +++ b/Classes/ChatConversationView.m @@ -195,7 +195,8 @@ static UICompositeViewDescription *compositeDescription = nil; _vrInnerView.layer.masksToBounds = YES; _vrWaveMaskPlayer.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"color_L"]]; // rgba(1,88,7,0.2); _showVoiceRecorderView = false; - + _toggleMenuButton.imageView.contentMode = UIViewContentModeScaleAspectFit; + _toggleRecord.imageView.contentMode = UIViewContentModeScaleAspectFit; } - (void)refreshData { diff --git a/Classes/LinphoneUI/UIChatBubbleTextCell.m b/Classes/LinphoneUI/UIChatBubbleTextCell.m index caf49fa67..d694ab17b 100644 --- a/Classes/LinphoneUI/UIChatBubbleTextCell.m +++ b/Classes/LinphoneUI/UIChatBubbleTextCell.m @@ -380,7 +380,7 @@ static const CGFloat REPLY_OR_FORWARD_TAG_HEIGHT = 18; return cached; } - CGSize size = [self ViewHeightForMessageText:chat withWidth:width textForImdn:nil]; + CGSize size = [self ViewHeightForMessageText:chat withWidth:width textForImdn:nil]; size.height += linphone_chat_message_is_forward(chat) || linphone_chat_message_is_reply(chat) ? REPLY_OR_FORWARD_TAG_HEIGHT : 0; size.height += linphone_chat_message_is_reply(chat) ? REPLY_CHAT_BUBBLE_HEIGHT+5 : 0;