From df6834beae79db8006b6ae2658fb3b220a6854a6 Mon Sep 17 00:00:00 2001 From: Christophe Deschamps Date: Tue, 14 Jun 2022 12:48:52 +0200 Subject: [PATCH] Adjusted icon size for group call --- Classes/ChatConversationView.m | 2 +- Classes/LinphoneUI/UIConfirmationDialog.m | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Classes/ChatConversationView.m b/Classes/ChatConversationView.m index 5a14b17f0..939716770 100644 --- a/Classes/ChatConversationView.m +++ b/Classes/ChatConversationView.m @@ -660,7 +660,7 @@ static UICompositeViewDescription *compositeDescription = nil; // Group call : if (self.groupCallAvailable ) { - [_callButton setImage:[UIImage imageNamed:@"voip_conference_new"] forState:UIControlStateNormal]; + [_callButton setImage: [LinphoneUtils resizeImage:[UIImage imageNamed:@"voip_conference_new"] newSize:CGSizeMake(50, 50)] forState:UIControlStateNormal]; _callButton.hidden = false; } else { [_callButton setImage:[UIImage imageNamed:@"call_alt_start_default"] forState:UIControlStateNormal]; diff --git a/Classes/LinphoneUI/UIConfirmationDialog.m b/Classes/LinphoneUI/UIConfirmationDialog.m index c8d3fc44b..6c8be2e3b 100644 --- a/Classes/LinphoneUI/UIConfirmationDialog.m +++ b/Classes/LinphoneUI/UIConfirmationDialog.m @@ -102,6 +102,7 @@ [_cancelButton setBackgroundImage:nil forState:UIControlStateNormal]; [_cancelButton setBackgroundColor:UIColor.whiteColor]; [_cancelButton setTitleColor:VoipTheme.voip_dark_gray forState:UIControlStateNormal]; + _cancelButton.layer.borderColor = UIColor.whiteColor.CGColor; } - (IBAction)onCancelClick:(id)sender {