From 94bdcd7676c31ab67c619515cb888002f4ca1762 Mon Sep 17 00:00:00 2001 From: Gautier Pelloux-Prayer Date: Mon, 16 Nov 2015 15:37:59 +0100 Subject: [PATCH] Call: fix minor UI glitchs --- Classes/Base.lproj/CallIncomingView.xib | 39 +++++++++------------ Classes/Base.lproj/ChatConversationView.xib | 2 +- Classes/CallView.m | 4 ++- Classes/ChatConversationCreateTableView.m | 2 +- submodules/cmake-builder | 2 +- 5 files changed, 23 insertions(+), 26 deletions(-) diff --git a/Classes/Base.lproj/CallIncomingView.xib b/Classes/Base.lproj/CallIncomingView.xib index 858a7e25..ecd72ca6 100644 --- a/Classes/Base.lproj/CallIncomingView.xib +++ b/Classes/Base.lproj/CallIncomingView.xib @@ -1,8 +1,8 @@ - + - + @@ -40,7 +40,7 @@ - + @@ -103,8 +103,8 @@ - - @@ -177,9 +177,4 @@ - - - - - diff --git a/Classes/Base.lproj/ChatConversationView.xib b/Classes/Base.lproj/ChatConversationView.xib index 8898c596..9013e94a 100644 --- a/Classes/Base.lproj/ChatConversationView.xib +++ b/Classes/Base.lproj/ChatConversationView.xib @@ -284,7 +284,7 @@ - + diff --git a/Classes/CallView.m b/Classes/CallView.m index 67020766..538cae55 100644 --- a/Classes/CallView.m +++ b/Classes/CallView.m @@ -431,7 +431,9 @@ - (void)showStatusBar:(BOOL)show { video to be resized, so hacking status bar instead*/ if (!show) { UIView *statusView = PhoneMainView.instance.mainViewController.statusBarView; - blackVideoStatusBar.frame = statusView.frame; + CGRect frame = statusView.frame; + frame.origin.y = 0; + blackVideoStatusBar.frame = frame; [statusView addSubview:blackVideoStatusBar]; } else { [blackVideoStatusBar removeFromSuperview]; diff --git a/Classes/ChatConversationCreateTableView.m b/Classes/ChatConversationCreateTableView.m index 97662e66..5913fed4 100644 --- a/Classes/ChatConversationCreateTableView.m +++ b/Classes/ChatConversationCreateTableView.m @@ -51,7 +51,7 @@ - (void)reloadDataWithFilter:(NSString *)filter { ms_free(uri); linphone_address_destroy(addr); } - if ([_contacts valueForKey:nsuri] == nil) { + if (nsuri.length > 0 && [_contacts valueForKey:nsuri] == nil) { _contacts[nsuri] = filter; } diff --git a/submodules/cmake-builder b/submodules/cmake-builder index 2e2b398f..26a352f2 160000 --- a/submodules/cmake-builder +++ b/submodules/cmake-builder @@ -1 +1 @@ -Subproject commit 2e2b398fa1e6c30d445f06e8b2f842004368501a +Subproject commit 26a352f2a4b70c2eb3bc57456bc882ce1710543a