updated log list not being in proper order

pull/51/head
deniscerri 3 years ago
parent d5824f59d3
commit 4d959a0b05
No known key found for this signature in database
GPG Key ID: 95C43D517D830350

@ -102,7 +102,7 @@ class DownloadLogListActivity : AppCompatActivity(), DownloadLogsAdapter.OnItemC
fileList = mutableListOf()
try{
fileList.addAll(logFolder.listFiles()!!)
fileList.reverse()
fileList.sortByDescending { it.name }
}catch (ignored: Exception){}
downloadLogAdapter.submitList(fileList.toList())
runOnUiThread{

Loading…
Cancel
Save