Hide spinner if chat room creation fails otherwise it will be visible forever
This commit is contained in:
parent
0168b90b20
commit
dcac3200f6
4 changed files with 5 additions and 0 deletions
|
@ -582,6 +582,7 @@ public class ChatRoomCreationFragment extends Fragment
|
|||
mChatRoom.addListener(mChatRoomCreationListener);
|
||||
} else {
|
||||
Log.w("[Chat Room Creation Fragment] createChatRoom returned null...");
|
||||
mWaitLayout.setVisibility(View.GONE);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
@ -608,6 +609,7 @@ public class ChatRoomCreationFragment extends Fragment
|
|||
mChatRoom.addListener(mChatRoomCreationListener);
|
||||
} else {
|
||||
Log.w("[Chat Room Creation Fragment] createChatRoom returned null...");
|
||||
mWaitLayout.setVisibility(View.GONE);
|
||||
}
|
||||
} else {
|
||||
LinphoneActivity.instance()
|
||||
|
|
|
@ -350,6 +350,7 @@ public class GroupInfoFragment extends Fragment implements ChatRoomListener {
|
|||
mTempChatRoom.addListener(mChatRoomCreationListener);
|
||||
} else {
|
||||
Log.w("[Group Info Fragment] createChatRoom returned null...");
|
||||
mWaitLayout.setVisibility(View.GONE);
|
||||
}
|
||||
} else {
|
||||
// Subject
|
||||
|
|
|
@ -124,6 +124,7 @@ public class ContactDetailsFragment extends Fragment
|
|||
} else {
|
||||
Log.w(
|
||||
"[Contact Details Fragment] createChatRoom returned null...");
|
||||
mWaitLayout.setVisibility(View.GONE);
|
||||
}
|
||||
} else {
|
||||
room = lc.getChatRoom(participant);
|
||||
|
|
|
@ -246,6 +246,7 @@ public class HistoryDetailFragment extends Fragment implements OnClickListener {
|
|||
mChatRoom.addListener(mChatRoomCreationListener);
|
||||
} else {
|
||||
Log.w("[History Detail Fragment] createChatRoom returned null...");
|
||||
mWaitLayout.setVisibility(View.GONE);
|
||||
}
|
||||
} else {
|
||||
room = lc.getChatRoom(participant);
|
||||
|
|
Loading…
Reference in a new issue