mirror of
				https://github.com/pierre42100/ComunicAndroid
				synced 2025-11-04 03:24:04 +00:00 
			
		
		
		
	Display error message when unable to get older message for a conversation.
This commit is contained in:
		@@ -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;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user