Adjusted icon size for group call

This commit is contained in:
Christophe Deschamps 2022-06-14 12:48:52 +02:00
parent 5cfda32547
commit df6834beae
2 changed files with 2 additions and 1 deletions

View file

@ -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];

View file

@ -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 {