forked from ShuriZma/suyu
1
0
Fork 0

android: Use path instead of programId for recently added / played key

This commit is contained in:
t895 2023-11-19 16:00:41 -05:00
parent 23c1f7c72f
commit 8e93a9a9ef
1 changed files with 2 additions and 2 deletions

View File

@ -18,8 +18,8 @@ class Game(
val version: String = "", val version: String = "",
val isHomebrew: Boolean = false val isHomebrew: Boolean = false
) : Parcelable { ) : Parcelable {
val keyAddedToLibraryTime get() = "${programId}_AddedToLibraryTime" val keyAddedToLibraryTime get() = "${path}_AddedToLibraryTime"
val keyLastPlayedTime get() = "${programId}_LastPlayed" val keyLastPlayedTime get() = "${path}_LastPlayed"
override fun equals(other: Any?): Boolean { override fun equals(other: Any?): Boolean {
if (other !is Game) { if (other !is Game) {