mirror of
				https://github.com/pierre42100/ComunicAndroid
				synced 2025-11-04 11:34:06 +00:00 
			
		
		
		
	Fix issue ("null" was shown on post content when there was no content to display)
This commit is contained in:
		@@ -99,7 +99,14 @@ public class Post {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public String getContent() {
 | 
			
		||||
        if(content == null)
 | 
			
		||||
            return "";
 | 
			
		||||
 | 
			
		||||
        if(content.equals("null"))
 | 
			
		||||
            return "";
 | 
			
		||||
 | 
			
		||||
        return content;
 | 
			
		||||
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    //Set and get the type of the post
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user