Build fixes
This commit is contained in:
parent
ada9239c11
commit
a4ff56e6eb
2 changed files with 13 additions and 5 deletions
|
|
@ -79,7 +79,7 @@ class HistoryScreenModelStateProvider : PreviewParameterProvider<HistoryScreenMo
|
|||
fun items() = sequence {
|
||||
var count = 1
|
||||
while (true) {
|
||||
yield(randItem { it.copy(title = "Example Title $count") })
|
||||
yield(randItem { it.copy(/* SY --> */ogTitle = /* SY <-- */ "Example Title $count") })
|
||||
count += 1
|
||||
}
|
||||
}
|
||||
|
|
@ -91,7 +91,9 @@ class HistoryScreenModelStateProvider : PreviewParameterProvider<HistoryScreenMo
|
|||
id = Random.nextLong(),
|
||||
chapterId = Random.nextLong(),
|
||||
mangaId = Random.nextLong(),
|
||||
title = "Test Title",
|
||||
// SY -->
|
||||
ogTitle = "Test Title",
|
||||
// SY <--
|
||||
chapterNumber = Random.nextDouble(),
|
||||
readAt = Date.from(Instant.now()),
|
||||
readDuration = Random.nextLong(),
|
||||
|
|
|
|||
|
|
@ -10,7 +10,9 @@ internal class HistoryWithRelationsProvider : PreviewParameterProvider<HistoryWi
|
|||
id = 1L,
|
||||
chapterId = 2L,
|
||||
mangaId = 3L,
|
||||
title = "Test Title",
|
||||
// SY -->
|
||||
ogTitle = "Test Title",
|
||||
// SY <--
|
||||
chapterNumber = 10.2,
|
||||
readAt = Date(1697247357L),
|
||||
readDuration = 123L,
|
||||
|
|
@ -27,7 +29,9 @@ internal class HistoryWithRelationsProvider : PreviewParameterProvider<HistoryWi
|
|||
id = 1L,
|
||||
chapterId = 2L,
|
||||
mangaId = 3L,
|
||||
title = "Test Title",
|
||||
// SY -->
|
||||
ogTitle = "Test Title",
|
||||
// SY <--
|
||||
chapterNumber = 10.2,
|
||||
readAt = null,
|
||||
readDuration = 123L,
|
||||
|
|
@ -44,7 +48,9 @@ internal class HistoryWithRelationsProvider : PreviewParameterProvider<HistoryWi
|
|||
id = 1L,
|
||||
chapterId = 2L,
|
||||
mangaId = 3L,
|
||||
title = "Test Title",
|
||||
// SY -->
|
||||
ogTitle = "Test Title",
|
||||
// SY <--
|
||||
chapterNumber = -2.0,
|
||||
readAt = Date(1697247357L),
|
||||
readDuration = 123L,
|
||||
|
|
|
|||
Loading…
Reference in a new issue