mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-07 11:00:22 +00:00
When onDismiss is called, the Bottom sheet is already hidden.
This commit is contained in:
committed by
Benoit Marty
parent
14ed730754
commit
d1fb808eed
-2
@@ -118,10 +118,8 @@ fun ActionListView(
|
||||
}
|
||||
|
||||
fun onDismiss() {
|
||||
sheetState.hide(coroutineScope) {
|
||||
state.eventSink(ActionListEvents.Clear)
|
||||
}
|
||||
}
|
||||
|
||||
if (targetItem != null) {
|
||||
ModalBottomSheet(
|
||||
|
||||
-2
@@ -38,10 +38,8 @@ fun CustomReactionBottomSheet(
|
||||
val coroutineScope = rememberCoroutineScope()
|
||||
|
||||
fun onDismiss() {
|
||||
sheetState.hide(coroutineScope) {
|
||||
state.eventSink(CustomReactionEvents.UpdateSelectedEvent(null))
|
||||
}
|
||||
}
|
||||
|
||||
fun onEmojiSelectedDismiss(emoji: Emoji) {
|
||||
sheetState.hide(coroutineScope) {
|
||||
|
||||
Reference in New Issue
Block a user