Skip to content

Commit

Permalink
Minimise sheet when a feed is selected in the expanded bottom sheet
Browse files Browse the repository at this point in the history
  • Loading branch information
msasikanth committed Oct 26, 2023
1 parent cb52503 commit a69fff4
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,10 @@ class FeedsPresenter(
}

private fun onFeedSelected(feed: Feed) {
coroutineScope.launch { observableSelectedFeed.selectFeed(feed) }
coroutineScope.launch {
observableSelectedFeed.selectFeed(feed)
effects.emit(FeedsEffect.MinimizeSheet)
}
}

private fun onGoBackClicked() {
Expand Down

0 comments on commit a69fff4

Please sign in to comment.