From 277d807068569c44b5c8f8b0ccb7e784cb963709 Mon Sep 17 00:00:00 2001 From: Isaac Iwasaki Date: Wed, 23 Oct 2024 02:38:04 +0700 Subject: [PATCH] temporal abyss --- app/src/main/java/usr/empty/player/database/Album.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/usr/empty/player/database/Album.kt b/app/src/main/java/usr/empty/player/database/Album.kt index 51c97dd..7e2446f 100644 --- a/app/src/main/java/usr/empty/player/database/Album.kt +++ b/app/src/main/java/usr/empty/player/database/Album.kt @@ -11,10 +11,10 @@ import java.util.UUID @Entity data class Album( - @ColumnInfo val name: String, @ColumnInfo val artistId: UUID + @ColumnInfo val name: String ) { @PrimaryKey - var uuid: UUID = UUID.nameUUIDFromBytes("$name$artistId".toByteArray()) + var uuid: UUID = UUID.nameUUIDFromBytes(name.toByteArray()) } @Dao