mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 10:32:34 +00:00
Enable swipe to reply on voice messages (#1668)
With the new waveform view it does not conflict anymore.
This commit is contained in:
-1
@@ -40,7 +40,6 @@ fun TimelineItemEventContent.canBeCopied(): Boolean =
|
|||||||
*/
|
*/
|
||||||
fun TimelineItemEventContent.canBeRepliedTo(): Boolean =
|
fun TimelineItemEventContent.canBeRepliedTo(): Boolean =
|
||||||
when (this) {
|
when (this) {
|
||||||
is TimelineItemVoiceContent, // TODO Voice messages: swipe to reply disabled for now to avoid conflict with audio scrubbing.
|
|
||||||
is TimelineItemRedactedContent,
|
is TimelineItemRedactedContent,
|
||||||
is TimelineItemStateContent,
|
is TimelineItemStateContent,
|
||||||
is TimelineItemPollContent -> false
|
is TimelineItemPollContent -> false
|
||||||
|
|||||||
Reference in New Issue
Block a user