When onDismiss is called, the Bottom sheet is already hidden.
This commit is contained in:
committed by
Benoit Marty
parent
2ec0382b3f
commit
19792bac8a
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user