Fix issue with conversation list invalidation.

This commit is contained in:
Alex Hart
2021-08-30 09:21:26 -03:00
parent 7410d664dd
commit 4c25264fbf

View File

@@ -86,8 +86,8 @@ class ConversationListViewModel extends ViewModel {
}
pagedData.getController().onDataInvalidated();
});
this.isNewlyCreated = true;
};
this.isNewlyCreated = true;
this.hasNoConversations = LiveDataUtil.mapAsync(pagedData.getData(), conversations -> {
pinnedCount = DatabaseFactory.getThreadDatabase(application).getPinnedConversationListCount();