DownloadFragment: Display downloads in reversed order
Latest downloads should always be on top to allow users to easily manage them. Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
@@ -90,7 +90,7 @@ class DownloadFragment : BaseFragment(R.layout.fragment_download) {
|
||||
viewLifecycleOwner.lifecycleScope.launch {
|
||||
downloadWorkerUtil.downloadsList.collectLatest {
|
||||
downloadList = it
|
||||
updateController(it)
|
||||
updateController(it.reversed())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user