refactor: simplify player state
This commit is contained in:
@@ -48,6 +48,9 @@ kotlin {
|
||||
implementation(libs.vorbisspi)
|
||||
}
|
||||
commonMain.dependencies {
|
||||
// Models (exposed through AudioPlayer's public API)
|
||||
// api(projects.core.model)
|
||||
|
||||
// Coroutines
|
||||
implementation(libs.kotlinx.coroutinesCore)
|
||||
|
||||
|
||||
@@ -3,8 +3,7 @@ package fr.ajaury.gwenedeg.core.model
|
||||
data class Record(
|
||||
val id: Int,
|
||||
val index: Int,
|
||||
val title: String,
|
||||
val titleTranslation: String? = null,
|
||||
val title: Phrase,
|
||||
val audioResourcePath: String,
|
||||
val subtitleResourcePath: String,
|
||||
val translationSubtitleResourcePath: String? = null,
|
||||
|
||||
Reference in New Issue
Block a user