From 1ea8d5b03245bfadde525f68da80c969d2cd6bb3 Mon Sep 17 00:00:00 2001 From: Guillaume BIENKOWSKI Date: Fri, 19 Dec 2014 16:44:17 +0100 Subject: [PATCH] #1874 is now fixed, merry christmas --- Classes/LinphoneUI/Base.lproj/UICallCell.xib | 2 +- Classes/LinphoneUI/UICallCell.m | 12 +++++------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/Classes/LinphoneUI/Base.lproj/UICallCell.xib b/Classes/LinphoneUI/Base.lproj/UICallCell.xib index 48cfb2da0..fc7757b12 100644 --- a/Classes/LinphoneUI/Base.lproj/UICallCell.xib +++ b/Classes/LinphoneUI/Base.lproj/UICallCell.xib @@ -49,7 +49,7 @@ - + diff --git a/Classes/LinphoneUI/UICallCell.m b/Classes/LinphoneUI/UICallCell.m index 698a1bfd3..7dc9fa919 100644 --- a/Classes/LinphoneUI/UICallCell.m +++ b/Classes/LinphoneUI/UICallCell.m @@ -250,11 +250,6 @@ } -- (void)prepareForReuse { - -} - - #pragma mark - Properties Functions - (void)setData:(UICallCellData *)adata { @@ -427,9 +422,12 @@ if(!data->minimize) { CGRect frame = [self frame]; - frame.size.height = [otherView frame].size.height; + frame.size.height = [UICallCell getMaximizedHeight]; [self setFrame:frame]; + frame = otherView.frame; + frame.size.height = [UICallCell getMaximizedHeight]; [otherView setHidden:false]; + otherView.frame = frame; } else { CGRect frame = [self frame]; frame.size.height = [headerView frame].size.height; @@ -528,7 +526,7 @@ if(parentTable != nil) { NSIndexPath *index= [parentTable indexPathForCell:self]; if(index != nil) { - [parentTable reloadRowsAtIndexPaths:[[[NSArray alloc] initWithObjects:index, nil] autorelease] withRowAnimation:false]; + [parentTable reloadRowsAtIndexPaths:@[index] withRowAnimation:false]; } } }