mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 10:33:45 +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)
|
actions.append(.copyCaption)
|
||||||
}
|
}
|
||||||
|
|
||||||
if item.hasMediaCaption {
|
if item.isEditable, item.hasMediaCaption {
|
||||||
actions.append(.removeCaption)
|
actions.append(.removeCaption)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user