diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-11-20 15:38:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-20 15:38:36 +0100 |
commit | 1ea0890a3663fd1a4b84202eaad9f26aa17b4681 (patch) | |
tree | 8fff15915d15d1273c4c69a0dad1a94c9509e7cc /src/android/app | |
parent | Merge pull request #12091 from t895/silly-speed (diff) | |
parent | android: Use path instead of programId for recently added / played key (diff) | |
download | yuzu-1ea0890a3663fd1a4b84202eaad9f26aa17b4681.tar yuzu-1ea0890a3663fd1a4b84202eaad9f26aa17b4681.tar.gz yuzu-1ea0890a3663fd1a4b84202eaad9f26aa17b4681.tar.bz2 yuzu-1ea0890a3663fd1a4b84202eaad9f26aa17b4681.tar.lz yuzu-1ea0890a3663fd1a4b84202eaad9f26aa17b4681.tar.xz yuzu-1ea0890a3663fd1a4b84202eaad9f26aa17b4681.tar.zst yuzu-1ea0890a3663fd1a4b84202eaad9f26aa17b4681.zip |
Diffstat (limited to 'src/android/app')
-rw-r--r-- | src/android/app/src/main/java/org/yuzu/yuzu_emu/model/Game.kt | 4 | ||||
-rw-r--r-- | src/android/app/src/main/res/layout/fragment_search.xml | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/Game.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/Game.kt index de84b2adb..2fa3ab31b 100644 --- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/Game.kt +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/Game.kt @@ -18,8 +18,8 @@ class Game( val version: String = "", val isHomebrew: Boolean = false ) : Parcelable { - val keyAddedToLibraryTime get() = "${programId}_AddedToLibraryTime" - val keyLastPlayedTime get() = "${programId}_LastPlayed" + val keyAddedToLibraryTime get() = "${path}_AddedToLibraryTime" + val keyLastPlayedTime get() = "${path}_LastPlayed" override fun equals(other: Any?): Boolean { if (other !is Game) { diff --git a/src/android/app/src/main/res/layout/fragment_search.xml b/src/android/app/src/main/res/layout/fragment_search.xml index b8d54d947..efdfd7047 100644 --- a/src/android/app/src/main/res/layout/fragment_search.xml +++ b/src/android/app/src/main/res/layout/fragment_search.xml @@ -127,6 +127,7 @@ android:layout_height="wrap_content" android:clipToPadding="false" android:paddingVertical="4dp" + app:checkedChip="@id/chip_recently_played" app:chipSpacingHorizontal="12dp" app:singleLine="true" app:singleSelection="true"> |