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 ->
updateController(
downloads
.filter { it.id == BuildConfig.APPLICATION_ID.hashCode() }
.filter { it.id != BuildConfig.APPLICATION_ID.hashCode() }
.sortedWith { o1, o2 -> o2.created.compareTo(o1.created) }
.map { DownloadFile(it) }
)