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:
SpiritCroc 2021-06-01 10:41:33 +02:00
parent 59cf7fc075
commit e0fd3e584f

View file

@ -340,7 +340,7 @@ class MessageActionsViewModel @AssistedInject constructor(@Assisted
add(EventSharedAction.AddReaction(eventId))
}
if (canQuote(timelineEvent, messageContent, actionPermissions)) {
if (canQuote(timelineEvent, messageContent, actionPermissions) && !vectorPreferences.simplifiedMode()) {
add(EventSharedAction.Quote(eventId))
}