Skip to content

Commit 4658030

Browse files
committed
chore: formatting
Signed-off-by: Tommy van der Vorst <tommy@pixelspark.nl>
1 parent cefa64a commit 4658030

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

Sushitrain/App.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,11 @@ struct SushitrainApp: App {
3232
init() {
3333
// Install uncaught exception handler
3434
NSSetUncaughtExceptionHandler { e in
35-
Log.warn("Uncaught exception: \(e.name) reason=\(e.reason ?? "unknown") returnAddress=\(e.callStackReturnAddresses) symbols=\(e.callStackSymbols)")
35+
Log.warn(
36+
"Uncaught exception: \(e.name) reason=\(e.reason ?? "unknown") returnAddress=\(e.callStackReturnAddresses) symbols=\(e.callStackSymbols)"
37+
)
3638
}
37-
39+
3840
// Find out all the relevant locations we need to access
3941
let configDirectory = Self.configDirectoryURL()
4042
let documentsDirectory = try! FileManager.default.url(

Sushitrain/BackgroundManager.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ enum ContinuedTaskType {
179179
Task {
180180
self.currentBackgroundTask = continuedTask
181181
var run = BackgroundSyncRun(started: Date.now, taskType: .continued)
182-
182+
183183
// Perform the requested continued task
184184
switch taskType {
185185
case .time(seconds: let duration), .timeOrFinished(seconds: let duration):
@@ -282,7 +282,7 @@ enum ContinuedTaskType {
282282
}
283283
return nil
284284
}
285-
285+
286286
private func backgroundLaunchHandler(_ task: BGTask) {
287287
Log.info("Background launch handler: \(task.identifier)")
288288
Task { @MainActor in

Sushitrain/DecrypterView.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ import SwiftUI
106106
DecrypterItemsView(
107107
folderID: folderID, folderPassword: folderPassword,
108108
entries: searchText.isEmpty ? allEntries : foundEntries,
109-
selectedDecryptedPaths: $selectedDecryptedPaths)
109+
selectedDecryptedPaths: $selectedDecryptedPaths
110+
)
110111
.id(searchText)
111112
}
112113
else {

0 commit comments

Comments
 (0)