mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
Fix visual glitch in Call when toggling the details view.
+ better elapsed time computing
This commit is contained in:
parent
ca097a54cf
commit
a050e61287
1 changed files with 5 additions and 3 deletions
|
|
@ -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 {
|
||||
|
|
@ -405,7 +407,7 @@
|
|||
}
|
||||
|
||||
int duration = linphone_call_get_duration(call);
|
||||
[stateLabel setText:[NSString stringWithFormat:@"%02i:%02i", (duration/60), duration - 60 * (duration / 60), nil]];
|
||||
[stateLabel setText:[NSString stringWithFormat:@"%02i:%02i", (duration/60), (duration%60), nil]];
|
||||
|
||||
if(!data->minimize) {
|
||||
CGRect frame = [self frame];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue