Compare commits

..

No commits in common. "2ee34acbad7b0e2f9612502fcfec92b2bd897e83" and "f88bf552affe1b7f830fe4106c102ed90bbcd1f3" have entirely different histories.

2 changed files with 2 additions and 9 deletions

View File

@ -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)
}

View File

@ -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)