From 24051b422131e364c34ccd33b0e1cb64ced9d580 Mon Sep 17 00:00:00 2001 From: Guillaume BIENKOWSKI Date: Wed, 13 Nov 2013 17:09:44 +0100 Subject: [PATCH] Fix in-call glitch where enabling/disabling the details view would show a bad cell size for a moment. --- Classes/LinphoneUI/UICallCell.m | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Classes/LinphoneUI/UICallCell.m b/Classes/LinphoneUI/UICallCell.m index 4fe64cdc2..b82299250 100644 --- a/Classes/LinphoneUI/UICallCell.m +++ b/Classes/LinphoneUI/UICallCell.m @@ -272,11 +272,13 @@ #pragma mark - Static Functions + (int)getMaximizedHeight { - return 280; + int height = [LinphoneManager runningOnIpad] ? 300 : 280; + return height; } + (int)getMinimizedHeight { - return 54; + int height = [LinphoneManager runningOnIpad] ? 63 : 54; + return height; } + (void)adaptSize:(UILabel*)label field:(UIView*)field {