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