mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Fix a bug where you're shown the remove caption action when it isn't available.
This commit is contained in:
+1
-1
@@ -83,7 +83,7 @@ struct TimelineItemMenuActionProvider {
|
||||
actions.append(.copyCaption)
|
||||
}
|
||||
|
||||
if item.hasMediaCaption {
|
||||
if item.isEditable, item.hasMediaCaption {
|
||||
actions.append(.removeCaption)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user