Compare commits
No commits in common. "2ee34acbad7b0e2f9612502fcfec92b2bd897e83" and "f88bf552affe1b7f830fe4106c102ed90bbcd1f3" have entirely different histories.
2ee34acbad
...
f88bf552af
|
@ -37,9 +37,9 @@ struct ComposeAttachmentRow: View {
|
|||
}
|
||||
}
|
||||
|
||||
Button(role: .destructive, action: self.removeAttachment) {
|
||||
Button(action: self.removeAttachment) {
|
||||
Label("Delete", systemImage: "trash")
|
||||
}
|
||||
}.foregroundStyle(.red)
|
||||
} previewIfAvailable: {
|
||||
ComposeAttachmentImage(attachment: attachment, fullSize: true)
|
||||
}
|
||||
|
|
|
@ -45,13 +45,6 @@ struct PinnedTimelinesView: View {
|
|||
.foregroundColor(Color(.lightGray))
|
||||
.accessibilityHidden(true)
|
||||
}
|
||||
.contextMenu {
|
||||
Button(role: .destructive) {
|
||||
pinnedTimelines.removeAll(where: { $0.id == timeline.id })
|
||||
} label: {
|
||||
Label("Remove Pinned Timeline", systemImage: "trash")
|
||||
}
|
||||
}
|
||||
}
|
||||
.onMove { indices, newOffset in
|
||||
pinnedTimelines.move(fromOffsets: indices, toOffset: newOffset)
|
||||
|
|
Loading…
Reference in New Issue