mirror of
https://github.com/element-hq/element-android
synced 2024-12-18 07:12:47 +03:00
Merge pull request #4069 from vector-im/feature/fga/fix_timeline_event_bottom_sheet
Fix MessageActionsBottomSheet not being shown on local echos
This commit is contained in:
commit
5a1781e1ac
2 changed files with 2 additions and 1 deletions
1
changelog.d/4068.bugfix
Normal file
1
changelog.d/4068.bugfix
Normal file
|
@ -0,0 +1 @@
|
||||||
|
MessageActionsBottomSheet not being shown on local echos
|
|
@ -1722,7 +1722,7 @@ class RoomDetailFragment @Inject constructor(
|
||||||
|
|
||||||
override fun onEventLongClicked(informationData: MessageInformationData, messageContent: Any?, view: View): Boolean {
|
override fun onEventLongClicked(informationData: MessageInformationData, messageContent: Any?, view: View): Boolean {
|
||||||
view.performHapticFeedback(HapticFeedbackConstants.LONG_PRESS)
|
view.performHapticFeedback(HapticFeedbackConstants.LONG_PRESS)
|
||||||
val roomId = roomDetailViewModel.timeline.getTimelineEventWithId(informationData.eventId)?.roomId ?: return false
|
val roomId = roomDetailArgs.roomId
|
||||||
this.view?.hideKeyboard()
|
this.view?.hideKeyboard()
|
||||||
|
|
||||||
MessageActionsBottomSheet
|
MessageActionsBottomSheet
|
||||||
|
|
Loading…
Reference in a new issue