chore(ci): fix swiftformat lint
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user