mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-20 21:18:07 +00:00
Hide any message bottom sheet when leaving conversation
This commit is contained in:
parent
1c8a376c7f
commit
59aa036875
1 changed files with 2 additions and 0 deletions
|
|
@ -886,6 +886,8 @@ open class ConversationFragment : SlidingPaneChildFragment() {
|
|||
|
||||
val bottomSheetBehavior = BottomSheetBehavior.from(binding.messageBottomSheet.root)
|
||||
bottomSheetBehavior.removeBottomSheetCallback(bottomSheetCallback)
|
||||
bottomSheetBehavior.state = BottomSheetBehavior.STATE_COLLAPSED
|
||||
currentChatMessageModelForBottomSheet?.isSelected?.value = false
|
||||
currentChatMessageModelForBottomSheet = null
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue