Fix edit / add description label

This commit is contained in:
Thomas Ricouard 2023-01-03 19:43:55 +01:00
parent 89db71c114
commit ca9ce92053

View file

@ -93,7 +93,7 @@ struct StatusEditorMediaView: View {
Button {
editingContainer = container
} label: {
Label(editingContainer?.mediaAttachement?.description?.isEmpty == false ?
Label(container.mediaAttachement?.description?.isEmpty == false ?
"Edit description" : "Add description",
systemImage: "pencil.line")
}