mirror of
https://github.com/element-hq/element-x-ios.git
synced 2025-03-10 13:37:11 +00:00
Fix a bug where you're shown the remove caption action when it isn't available.
This commit is contained in:
parent
5e2ddf6402
commit
606eb0a30a
@ -83,7 +83,7 @@ struct TimelineItemMenuActionProvider {
|
||||
actions.append(.copyCaption)
|
||||
}
|
||||
|
||||
if item.hasMediaCaption {
|
||||
if item.isEditable, item.hasMediaCaption {
|
||||
actions.append(.removeCaption)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user