deleted unnecessary convertion

This commit is contained in:
hacobot.dev 2023-01-12 07:47:23 -07:00 committed by Billy Laws
parent 75f6f5e31c
commit ff1e62df7a

View File

@ -257,7 +257,7 @@ class MainActivity : AppCompatActivity() {
SortingOrder.AlphabeticalAsc.ordinal -> sortedApps.sortBy { it.name }
SortingOrder.AlphabeticalDesc.ordinal -> sortedApps.sortByDescending { it.name }
}
return sortedApps.toList()
return sortedApps
}
private fun handleState(state : MainState) = when (state) {