Updated on 2026-08-14
This commit is contained in:
parent
5ed229f6ed
commit
9c1d2f2cf2
1 changed files with 8 additions and 1 deletions
|
|
@ -190,11 +190,18 @@ internal class DefaultFeedEntryComponent @AssistedInject constructor(
|
|||
bottomSheetState = bottomSheetState,
|
||||
stackState = stackStack,
|
||||
onHeaderSizeChange = onHeaderSizeChange,
|
||||
onExpandSheet = onExpandSheet,
|
||||
onExpandSheet = { onCollapsedSheetClick(onExpandSheet) },
|
||||
isOpenedInBottomSheet = true,
|
||||
)
|
||||
}
|
||||
|
||||
private fun onCollapsedSheetClick(onExpandSheet: () -> Unit) {
|
||||
if (stack.value.active.configuration is FeedEntryChildFactory.Child.Feed) {
|
||||
clickIntents.openSearch(AnalyticsParam.ScreensSources.Markets.value)
|
||||
}
|
||||
onExpandSheet()
|
||||
}
|
||||
|
||||
@Composable
|
||||
override fun Content(modifier: Modifier) {
|
||||
val bottomSheetState = remember {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue