aboutsummaryrefslogtreecommitdiff
path: root/Hotline/macOS/Files/FilesView.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Hotline/macOS/Files/FilesView.swift')
-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)
}
}