chore(ci): fix swiftformat lint

This commit is contained in:
Peter Steinberger
2025-12-20 19:48:53 +01:00
parent 483c0e4cea
commit 2ca7c2629c
3 changed files with 8 additions and 10 deletions

View File

@@ -8,9 +8,8 @@ enum GatewayAutostartPolicy {
static func shouldEnsureLaunchAgent(
mode: AppState.ConnectionMode,
paused: Bool,
attachExistingOnly: Bool,
) -> Bool
attachExistingOnly: Bool) -> Bool
{
shouldStartGateway(mode: mode, paused: paused) && !attachExistingOnly
self.shouldStartGateway(mode: mode, paused: paused) && !attachExistingOnly
}
}

View File

@@ -352,12 +352,11 @@ final class GatewayDiscoveryModel {
nonisolated private static func mergeLocalIdentity(
fast: LocalIdentity,
slow: LocalIdentity
) -> LocalIdentity {
slow: LocalIdentity) -> LocalIdentity
{
LocalIdentity(
hostTokens: fast.hostTokens.union(slow.hostTokens),
displayTokens: fast.displayTokens.union(slow.displayTokens)
)
displayTokens: fast.displayTokens.union(slow.displayTokens))
}
nonisolated private static func buildLocalIdentityFast() -> LocalIdentity {

View File

@@ -99,11 +99,11 @@ struct OnboardingView: View {
case .remote:
// Remote setup doesn't need local gateway/CLI/workspace setup pages,
// and WhatsApp/Telegram setup is optional.
return hasIdentity ? [0, 1, 5, 9] : [0, 1, 5, 8, 9]
hasIdentity ? [0, 1, 5, 9] : [0, 1, 5, 8, 9]
case .unconfigured:
return hasIdentity ? [0, 1, 9] : [0, 1, 8, 9]
hasIdentity ? [0, 1, 9] : [0, 1, 8, 9]
case .local:
return hasIdentity ? [0, 1, 2, 5, 6, 9] : [0, 1, 2, 5, 6, 8, 9]
hasIdentity ? [0, 1, 2, 5, 6, 9] : [0, 1, 2, 5, 6, 8, 9]
}
}