When onDismiss is called, the Bottom sheet is already hidden.
This commit is contained in:
parent
14ed730754
commit
d1fb808eed
2 changed files with 2 additions and 6 deletions
|
|
@ -118,9 +118,7 @@ fun ActionListView(
|
|||
}
|
||||
|
||||
fun onDismiss() {
|
||||
sheetState.hide(coroutineScope) {
|
||||
state.eventSink(ActionListEvents.Clear)
|
||||
}
|
||||
state.eventSink(ActionListEvents.Clear)
|
||||
}
|
||||
|
||||
if (targetItem != null) {
|
||||
|
|
|
|||
|
|
@ -38,9 +38,7 @@ fun CustomReactionBottomSheet(
|
|||
val coroutineScope = rememberCoroutineScope()
|
||||
|
||||
fun onDismiss() {
|
||||
sheetState.hide(coroutineScope) {
|
||||
state.eventSink(CustomReactionEvents.UpdateSelectedEvent(null))
|
||||
}
|
||||
state.eventSink(CustomReactionEvents.UpdateSelectedEvent(null))
|
||||
}
|
||||
|
||||
fun onEmojiSelectedDismiss(emoji: Emoji) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue