Hide quote action in simplified mode
Users mistake this for "reply". Also, it doesn't allow editing the quote right now, so it's not really useful yet either. Change-Id: Ie3b84bde91901ee658852929313cacd70a912225
This commit is contained in:
parent
59cf7fc075
commit
e0fd3e584f
|
@ -340,7 +340,7 @@ class MessageActionsViewModel @AssistedInject constructor(@Assisted
|
||||||
add(EventSharedAction.AddReaction(eventId))
|
add(EventSharedAction.AddReaction(eventId))
|
||||||
}
|
}
|
||||||
|
|
||||||
if (canQuote(timelineEvent, messageContent, actionPermissions)) {
|
if (canQuote(timelineEvent, messageContent, actionPermissions) && !vectorPreferences.simplifiedMode()) {
|
||||||
add(EventSharedAction.Quote(eventId))
|
add(EventSharedAction.Quote(eventId))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue