Fixed first chat display issue on tablet
This commit is contained in:
parent
4a737c1f4d
commit
33d8d77922
2 changed files with 2 additions and 2 deletions
|
@ -848,7 +848,7 @@ public class LinphoneActivity extends LinphoneGenericActivity implements OnClick
|
|||
}
|
||||
|
||||
public void hideTabBar(Boolean hide) {
|
||||
if (hide) {
|
||||
if (hide && !isTablet()) { // do not hide if tablet, otherwise won't be able to navigate...
|
||||
mTabBar.setVisibility(View.GONE);
|
||||
} else {
|
||||
mTabBar.setVisibility(View.VISIBLE);
|
||||
|
|
|
@ -54,7 +54,7 @@ public enum FragmentsAvailable {
|
|||
return fragment == CHAT_LIST || fragment == CHAT;
|
||||
|
||||
case GROUP_CHAT:
|
||||
return fragment == CHAT_LIST || fragment == GROUP_CHAT;
|
||||
return fragment == CHAT_LIST || fragment == GROUP_CHAT || fragment == INFO_GROUP_CHAT || fragment == CREATE_CHAT;
|
||||
|
||||
case MESSAGE_IMDN:
|
||||
return fragment == GROUP_CHAT || fragment == MESSAGE_IMDN;
|
||||
|
|
Loading…
Reference in a new issue