Skip to content
Snippets Groups Projects
Commit 8e93a9a9 authored by t895's avatar t895
Browse files

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

parent 23c1f7c7
No related branches found
No related tags found
No related merge requests found
...@@ -18,8 +18,8 @@ class Game( ...@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment