Fix edit / add description label
This commit is contained in:
parent
89db71c114
commit
ca9ce92053
@ -93,7 +93,7 @@ struct StatusEditorMediaView: View {
|
|||||||
Button {
|
Button {
|
||||||
editingContainer = container
|
editingContainer = container
|
||||||
} label: {
|
} label: {
|
||||||
Label(editingContainer?.mediaAttachement?.description?.isEmpty == false ?
|
Label(container.mediaAttachement?.description?.isEmpty == false ?
|
||||||
"Edit description" : "Add description",
|
"Edit description" : "Add description",
|
||||||
systemImage: "pencil.line")
|
systemImage: "pencil.line")
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user