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

View File

@ -83,7 +83,7 @@ struct TimelineItemMenuActionProvider {
actions.append(.copyCaption)
}
if item.hasMediaCaption {
if item.isEditable, item.hasMediaCaption {
actions.append(.removeCaption)
}