matching source with SY
This commit is contained in:
parent
32f895d813
commit
721229b90e
4 changed files with 9 additions and 13 deletions
|
|
@ -8,11 +8,11 @@ import java.util.Properties
|
|||
plugins {
|
||||
id("mihon.android.application")
|
||||
id("mihon.android.application.compose")
|
||||
// id("com.github.zellius.shortcut-helper")
|
||||
kotlin("plugin.parcelize")
|
||||
kotlin("plugin.serialization")
|
||||
id("com.github.ben-manes.versions")
|
||||
// id("com.github.zellius.shortcut-helper")
|
||||
alias(libs.plugins.aboutLibraries)
|
||||
id("com.github.ben-manes.versions")
|
||||
}
|
||||
|
||||
if (gradle.startParameter.taskRequests.toString().contains("Standard")) {
|
||||
|
|
|
|||
|
|
@ -117,7 +117,6 @@ fun FeedScreen(
|
|||
) { index, item ->
|
||||
// KMK <--
|
||||
GlobalSearchResultItem(
|
||||
modifier = Modifier.animateItem(),
|
||||
title = item.title,
|
||||
subtitle = item.subtitle,
|
||||
onLongClick = {
|
||||
|
|
@ -136,6 +135,7 @@ fun FeedScreen(
|
|||
onClickSource(item.source)
|
||||
}
|
||||
},
|
||||
modifier = Modifier.animateItem(),
|
||||
) {
|
||||
FeedItem(
|
||||
item = item,
|
||||
|
|
|
|||
|
|
@ -319,8 +319,10 @@ private fun ChapterNavigatorPreview() {
|
|||
currentPage = currentPage,
|
||||
totalPages = 10,
|
||||
onSliderValueChange = { currentPage = it },
|
||||
// SY -->
|
||||
currentPageText = "1",
|
||||
isVerticalSlider = false,
|
||||
currentPageText = "currentPageText",
|
||||
// SY <--
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -137,14 +137,8 @@ class MangaScreen(
|
|||
val context = LocalContext.current
|
||||
val scope = rememberCoroutineScope()
|
||||
val lifecycleOwner = LocalLifecycleOwner.current
|
||||
val screenModel =
|
||||
rememberScreenModel {
|
||||
MangaScreenModel(
|
||||
context, lifecycleOwner.lifecycle, mangaId, fromSource,
|
||||
// SY -->
|
||||
smartSearchConfig != null,
|
||||
// SY <--
|
||||
)
|
||||
val screenModel = rememberScreenModel {
|
||||
MangaScreenModel(context, lifecycleOwner.lifecycle, mangaId, fromSource, smartSearchConfig != null)
|
||||
}
|
||||
|
||||
val state by screenModel.state.collectAsStateWithLifecycle()
|
||||
|
|
|
|||
Loading…
Reference in a new issue