VERY experimental Nintendo Switch 2 emulator
C++
android: Sort recently added/played games by time
t895aa37bffb58fa
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/SearchFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/SearchFragment.ktindex 64b295fbde..20b10b1a0c 100644--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/SearchFragment.kt+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/SearchFragment.kt@@ -136,14 +136,14 @@ class SearchFragment : Fragment() {baseList.filter {val lastPlayedTime = preferences.getLong(it.keyLastPlayedTime, 0L)lastPlayedTime > (System.currentTimeMillis() - 24 * 60 * 60 * 1000)- }+ }.sortedByDescending { preferences.getLong(it.keyLastPlayedTime, 0L) }}R.id.chip_recently_added -> {baseList.filter {val addedTime = preferences.getLong(it.keyAddedToLibraryTime, 0L)addedTime > (System.currentTimeMillis() - 24 * 60 * 60 * 1000)- }+ }.sortedByDescending { preferences.getLong(it.keyAddedToLibraryTime, 0L) }}R.id.chip_homebrew -> baseList.filter { it.isHomebrew }