diff --git a/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/ConversationFragment.java b/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/ConversationFragment.java index 9c34287..52eb61f 100644 --- a/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/ConversationFragment.java +++ b/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/ConversationFragment.java @@ -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; } diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 1211134..ed2fcf9 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -177,4 +177,5 @@ There is not any post on this page yet. You do not have any conversation yet. You do not have any friend yet. + An error occurred while trying to get older messages for the conversation!