updated log list not being in proper order
This commit is contained in:
parent
d5824f59d3
commit
4d959a0b05
1 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@ class DownloadLogListActivity : AppCompatActivity(), DownloadLogsAdapter.OnItemC
|
||||||
fileList = mutableListOf()
|
fileList = mutableListOf()
|
||||||
try{
|
try{
|
||||||
fileList.addAll(logFolder.listFiles()!!)
|
fileList.addAll(logFolder.listFiles()!!)
|
||||||
fileList.reverse()
|
fileList.sortByDescending { it.name }
|
||||||
}catch (ignored: Exception){}
|
}catch (ignored: Exception){}
|
||||||
downloadLogAdapter.submitList(fileList.toList())
|
downloadLogAdapter.submitList(fileList.toList())
|
||||||
runOnUiThread{
|
runOnUiThread{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue