aboutsummaryrefslogtreecommitdiff
path: root/Hotline/Shared/DataAdditions.swift
diff options
context:
space:
mode:
authorRuben Beltran del Rio <git@r.bdr.sh>2025-02-05 22:27:17 +0100
committerRuben Beltran del Rio <git@r.bdr.sh>2025-02-05 22:27:17 +0100
commit45829daa856b376b1ab04d415917110b71b1dec5 (patch)
tree8e52daed6897b6f489d455736fe256cb9bd90fef /Hotline/Shared/DataAdditions.swift
parent5c3ea897d062a47bc8cd6255fb8c36bad2f0733f (diff)
Apply formatting
Diffstat (limited to 'Hotline/Shared/DataAdditions.swift')
-rw-r--r--Hotline/Shared/DataAdditions.swift7
1 files changed, 4 insertions, 3 deletions
diff --git a/Hotline/Shared/DataAdditions.swift b/Hotline/Shared/DataAdditions.swift
index 0e9dd96..1eb7f6f 100644
--- a/Hotline/Shared/DataAdditions.swift
+++ b/Hotline/Shared/DataAdditions.swift
@@ -10,9 +10,10 @@ extension Data {
try? h.close()
if bounceDock {
#if os(macOS)
- var downloadURL = URL(filePath: filePath)
- downloadURL.resolveSymlinksInPath()
- DistributedNotificationCenter.default().post(name: .init("com.apple.DownloadFileFinished"), object: downloadURL.path)
+ var downloadURL = URL(filePath: filePath)
+ downloadURL.resolveSymlinksInPath()
+ DistributedNotificationCenter.default().post(
+ name: .init("com.apple.DownloadFileFinished"), object: downloadURL.path)
#endif
}
return true