TF-1045 Remove wrong conditions to append more items after loading more
This commit is contained in:
committed by
Dat H. Pham
parent
776dbf749e
commit
a363435de2
@@ -244,9 +244,6 @@ class ThreadRepositoryImpl extends ThreadRepository {
|
||||
properties: emailRequest.properties)
|
||||
.then((response) {
|
||||
var listEmails = response.emailList;
|
||||
if (listEmails != null && listEmails.isNotEmpty) {
|
||||
listEmails = listEmails.where((email) => email.id != emailRequest.lastEmailId).toList();
|
||||
}
|
||||
return EmailsResponse(emailList: listEmails, state: response.state);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user