mirror of
				https://gitlab.com/comunic/comunicmobile
				synced 2025-11-03 19:54:12 +00:00 
			
		
		
		
	Can get older posts on latest posts page
This commit is contained in:
		@@ -46,4 +46,12 @@ class PostsList extends ListBase<Post> {
 | 
			
		||||
 | 
			
		||||
    return set;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /// Get the ID of the oldest post of this list. Returns 0 if the list is empty
 | 
			
		||||
  int get oldestID {
 | 
			
		||||
    if(isEmpty)
 | 
			
		||||
      return 0;
 | 
			
		||||
 | 
			
		||||
    return this.elementAt(length - 1).id;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user