style: tidy macos swift formatting

This commit is contained in:
Peter Steinberger
2025-12-20 12:56:57 +01:00
parent 2d8e11b78b
commit 636e4d38d5
8 changed files with 25 additions and 26 deletions

View File

@@ -63,11 +63,10 @@ final class DeepLinkHandler {
let explicitSessionKey = link.sessionKey?
.trimmingCharacters(in: .whitespacesAndNewlines)
.nonEmpty
let resolvedSessionKey: String
if let explicitSessionKey {
resolvedSessionKey = explicitSessionKey
let resolvedSessionKey: String = if let explicitSessionKey {
explicitSessionKey
} else {
resolvedSessionKey = await GatewayConnection.shared.mainSessionKey()
await GatewayConnection.shared.mainSessionKey()
}
let invocation = GatewayAgentInvocation(
message: messagePreview,