Remove ‘copy’ action for "media like" types (#1889)

* Remove ‘copy’ action when useless

* Delete unused property
This commit is contained in:
Alfonso Grillo
2023-10-13 12:52:30 +02:00
committed by GitHub
parent 2f0b5a42f5
commit 293834cf94
2 changed files with 14 additions and 9 deletions
@@ -558,7 +558,7 @@ class RoomScreenViewModel: RoomScreenViewModelType, RoomScreenViewModelProtocol
actions.append(.edit)
}
if item.isMessage, !item.isLocation {
if item.isCopyable {
actions.append(.copy)
}