aboutsummaryrefslogtreecommitdiff
path: root/Hotline/macOS/FilesView.swift
diff options
context:
space:
mode:
authorDustin Mierau <dustin@mierau.me>2023-12-22 18:18:23 -0800
committerDustin Mierau <dustin@mierau.me>2023-12-22 18:18:23 -0800
commitb9443172e78669b78d3bd3fa4f20e1b202d9c741 (patch)
tree0bfe7a307e569e57296d3666385667329a6d5d8a /Hotline/macOS/FilesView.swift
parentecf1f38892d3cac2eb8e7c04d8afb80664b80a54 (diff)
Fix issue where some servers mark transactions with isReply field but not as a reply transaction type.
Diffstat (limited to 'Hotline/macOS/FilesView.swift')
-rw-r--r--Hotline/macOS/FilesView.swift20
1 files changed, 15 insertions, 5 deletions
diff --git a/Hotline/macOS/FilesView.swift b/Hotline/macOS/FilesView.swift
index ee5a310..771836d 100644
--- a/Hotline/macOS/FilesView.swift
+++ b/Hotline/macOS/FilesView.swift
@@ -163,12 +163,14 @@ struct FilesView: View {
}
}
.toolbar {
+
+
ToolbarItem(placement: .primaryAction) {
Button {
} label: {
- Label("Download File", systemImage: "square.and.arrow.down")
+ Label("Delete File", systemImage: "trash")
}
- .help("Download")
+ .help("Delete")
}
ToolbarItem(placement: .primaryAction) {
@@ -176,15 +178,23 @@ struct FilesView: View {
} label: {
Label("Preview File", systemImage: "eye")
}
- .help("Preview")
+ .help("Preview File")
}
ToolbarItem(placement: .primaryAction) {
Button {
} label: {
- Label("Delete File", systemImage: "trash")
+ Label("Get File Info", systemImage: "info.circle")
}
- .help("Delete")
+ .help("Get File Info")
+ }
+
+ ToolbarItem(placement: .primaryAction) {
+ Button {
+ } label: {
+ Label("Download File", systemImage: "square.and.arrow.down")
+ }
+ .help("Download")
}
}
}