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

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