diff --git a/shared/src/commonMain/kotlin/dev/sasikanth/rss/reader/home/ui/HomeScreen.kt b/shared/src/commonMain/kotlin/dev/sasikanth/rss/reader/home/ui/HomeScreen.kt index b16ef9252..338a77a61 100644 --- a/shared/src/commonMain/kotlin/dev/sasikanth/rss/reader/home/ui/HomeScreen.kt +++ b/shared/src/commonMain/kotlin/dev/sasikanth/rss/reader/home/ui/HomeScreen.kt @@ -96,7 +96,12 @@ internal fun HomeScreen(homePresenter: HomePresenter, modifier: Modifier = Modif rememberStandardBottomSheetState( initialValue = state.feedsSheetState, confirmValueChange = { - homePresenter.dispatch(HomeEvent.FeedsSheetStateChanged(it)) + if (it != SheetValue.Hidden) { + homePresenter.dispatch(HomeEvent.FeedsSheetStateChanged(it)) + } else { + homePresenter.dispatch(HomeEvent.FeedsSheetStateChanged(SheetValue.PartiallyExpanded)) + } + true } )