Skip to content

Commit

Permalink
Sort countries list by cases
Browse files Browse the repository at this point in the history
  • Loading branch information
MDikkii authored Apr 14, 2020
2 parents 9df921b + 424da79 commit d424d26
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class CountriesListViewModel(
.contains(
currentFilterText.toLowerCase(Locale.getDefault())
)
}
}.sortedByDescending { it.cases }
}

private fun getFollowStatusList(filtered: List<CountryReportModelable>): List<CountryReportModelable> {
Expand Down

0 comments on commit d424d26

Please sign in to comment.