Display error message when unable to get older message for a conversation.

This commit is contained in:
Pierre 2018-04-28 14:40:50 +02:00
parent 82493db25b
commit ea6ffa6f6e
2 changed files with 3 additions and 0 deletions

View File

@ -692,6 +692,8 @@ public class ConversationFragment extends Fragment
//Check if the list is null (in case of error)
if(list == null) {
Toast.makeText(getActivity(), R.string.err_get_older_conversation_messages,
Toast.LENGTH_SHORT).show();
return;
}

View File

@ -177,4 +177,5 @@
<string name="notice_no_post_user_page">There is not any post on this page yet.</string>
<string name="notice_no_conversation">You do not have any conversation yet.</string>
<string name="notice_no_friend">You do not have any friend yet.</string>
<string name="err_get_older_conversation_messages">An error occurred while trying to get older messages for the conversation!</string>
</resources>