From ff1e62df7a93153ae9c82e326bbbe1d2c58ab05f Mon Sep 17 00:00:00 2001 From: "hacobot.dev" Date: Thu, 12 Jan 2023 07:47:23 -0700 Subject: [PATCH] deleted unnecessary convertion --- app/src/main/java/emu/skyline/MainActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/emu/skyline/MainActivity.kt b/app/src/main/java/emu/skyline/MainActivity.kt index 421c79b3..74a37e50 100644 --- a/app/src/main/java/emu/skyline/MainActivity.kt +++ b/app/src/main/java/emu/skyline/MainActivity.kt @@ -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) {