Fix a bug where you're shown the remove caption action when it isn't available.

This commit is contained in:
Doug
2024-12-11 18:49:17 +00:00
committed by Stefan Ceriu
parent 5e2ddf6402
commit 606eb0a30a
@@ -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)
} }