Updated on 2026-08-14

This commit is contained in:
Tangem 2026-01-12 08:06:26 +01:00
parent 4a5fcc48fa
commit a46fc13fb0

View file

@ -129,13 +129,17 @@ internal class DefaultFeedEntryComponent @AssistedInject constructor(
onHeaderSizeChange: (Dp) -> Unit,
modifier: Modifier,
) {
BackHandler(enabled = bottomSheetState.value == BottomSheetState.EXPANDED) {
val stackStack = stack.subscribeAsState()
BackHandler(
enabled = bottomSheetState.value == BottomSheetState.EXPANDED &&
stackStack.value.active.configuration !is FeedEntryChildFactory.Child.Feed,
) {
onChildBack()
}
EntryContent(
bottomSheetState = bottomSheetState,
stackState = stack.subscribeAsState(),
stackState = stackStack,
onHeaderSizeChange = onHeaderSizeChange,
isOpenedInBottomSheet = true,
)