aboutsummaryrefslogtreecommitdiff
path: root/Hotline/macOS/FileImageView.swift
diff options
context:
space:
mode:
authorDustin Mierau <dustin@mierau.me>2024-01-02 19:14:45 -0800
committerDustin Mierau <dustin@mierau.me>2024-01-02 19:15:43 -0800
commit7d670c5b63db44e32d33b7db3495b4d792866f86 (patch)
tree0daff89e0cdac7e6becbc01f00d268e66f2849b6 /Hotline/macOS/FileImageView.swift
parent78a93e5f5ed74010a130367d27221b2a11fb6542 (diff)
Fix banners not loading. First crack at adding a classic icon set with icons painsakenly pulled from the original Hotline client. May try to "remaster" these somehow.
Diffstat (limited to 'Hotline/macOS/FileImageView.swift')
-rw-r--r--Hotline/macOS/FileImageView.swift9
1 files changed, 1 insertions, 8 deletions
diff --git a/Hotline/macOS/FileImageView.swift b/Hotline/macOS/FileImageView.swift
index 867fb45..99fd7b5 100644
--- a/Hotline/macOS/FileImageView.swift
+++ b/Hotline/macOS/FileImageView.swift
@@ -21,14 +21,7 @@ struct FileImageView: View {
}
self.status = .loading
- self.model.downloadBanner { success in
- if success {
- self.status = .loaded
- }
- else {
- self.status = .notloaded
- }
- }
+ self.model.downloadBanner()
}
var body: some View {