Add default constructor values

This commit is contained in:
Isira Seneviratne
2023-08-02 05:29:36 +05:30
committed by Koitharu
parent bf1b8e8b75
commit 7b090c4ccd
8 changed files with 19 additions and 24 deletions

View File

@@ -85,7 +85,7 @@ class FeedViewModel @Inject constructor(
for (item in this) {
val date = timeAgo(item.createdAt)
if (prevDate != date) {
destination += ListHeader(date, 0, null)
destination += ListHeader(date)
}
prevDate = date
destination += item.toFeedItem()