aboutsummaryrefslogtreecommitdiff
path: root/Hotline/macOS/Files
diff options
context:
space:
mode:
authorDustin Mierau <dustin@mierau.me>2025-11-13 11:33:43 -0800
committerDustin Mierau <dustin@mierau.me>2025-11-13 11:33:43 -0800
commitda6a1f92caa31c85f9182bff4c29ceb5c72b3742 (patch)
treeca79509164efe287354ee221542a93a4919613b9 /Hotline/macOS/Files
parent467b53f143a0c3d7328fe85e9d1215eceb9b150a (diff)
Don't show accounts in sidebar to reduce clutter. Admins can use menu bar or toolbar. More error handling.
Diffstat (limited to 'Hotline/macOS/Files')
-rw-r--r--Hotline/macOS/Files/FilesView.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/Hotline/macOS/Files/FilesView.swift b/Hotline/macOS/Files/FilesView.swift
index ab93cbc..325af8c 100644
--- a/Hotline/macOS/Files/FilesView.swift
+++ b/Hotline/macOS/Files/FilesView.swift
@@ -432,7 +432,7 @@ struct FilesView: View {
}
let path: [String] = parentFolder?.path ?? []
- if try await self.model.newFolder(name: name, parentPath: path) == true {
+ if try await self.model.newFolder(name: name, parentPath: path) {
try await self.model.getFileList(path: path)
}
}