Fix missing downloads entry

This commit is contained in:
Rahul Kumar Patel
2021-04-06 22:13:17 +05:30
parent 747e7fc8bc
commit 0228cc1a3c

View File

@@ -182,7 +182,7 @@ class DownloadActivity : BaseActivity() {
fetch.getDownloads { downloads -> fetch.getDownloads { downloads ->
updateController( updateController(
downloads downloads
.filter { it.id == BuildConfig.APPLICATION_ID.hashCode() } .filter { it.id != BuildConfig.APPLICATION_ID.hashCode() }
.sortedWith { o1, o2 -> o2.created.compareTo(o1.created) } .sortedWith { o1, o2 -> o2.created.compareTo(o1.created) }
.map { DownloadFile(it) } .map { DownloadFile(it) }
) )