new: add real audio for the whole Chom Bev content
This commit is contained in:
+3
-2
@@ -32,10 +32,11 @@ class InMemoryRecordRepository : RecordRepository {
|
||||
"Stad a vuhez (2)",
|
||||
"Lec'hiiñ",
|
||||
).mapIndexed { index, title ->
|
||||
val number = index + 1
|
||||
Record(
|
||||
index = index + 1,
|
||||
index = number,
|
||||
title = title,
|
||||
audioResourcePath = "files/$title.ogg",
|
||||
audioResourcePath = "files/Chom_bev_${number.toString().padStart(2, '0')}.m4a",
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ fun RecordView(
|
||||
@Composable
|
||||
private fun RecordViewPreview() {
|
||||
RecordView(
|
||||
record = Record(index = 1, title = "Sample Record", audioResourcePath = "files/An onestiz.ogg"),
|
||||
record = Record(index = 1, title = "Sample Record", audioResourcePath = "files/Chom_bev_01.ogg"),
|
||||
onClick = {},
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user