Skip to content

Commit aaf4db2

Browse files
committed
style(macos): apply SwiftFormat to Tailscale settings
1 parent a457c8c commit aaf4db2

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

‎apps/macos/Sources/OpenClaw/TailscaleIntegrationSection.swift‎

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@ private struct GatewayTailscaleApplyMessages {
6363
private typealias GatewayTailscaleSettingsSaver = @MainActor @Sendable (
6464
GatewayTailscaleSettingsSnapshot,
6565
AppState.ConnectionMode,
66-
Bool
67-
) async -> (Bool, String?)
66+
Bool) async -> (Bool, String?)
6867

6968
struct TailscaleIntegrationSection: View {
7069
let connectionMode: AppState.ConnectionMode
@@ -326,7 +325,7 @@ struct TailscaleIntegrationSection: View {
326325
mode: tailscaleMode,
327326
requireCredentialsForServe: requireCredentialsForServe,
328327
password: password)
329-
let root = self.buildTailscaleConfigRoot(root: await ConfigStore.load(), settings: settings)
328+
let root = await self.buildTailscaleConfigRoot(root: ConfigStore.load(), settings: settings)
330329

331330
do {
332331
try await ConfigStore.save(root, allowGatewayAuthMutation: true)
@@ -575,11 +574,10 @@ extension TailscaleIntegrationSection {
575574
validationMessage: String? = nil,
576575
connectionMode: AppState.ConnectionMode,
577576
isPaused: Bool) -> (
578-
statusMessage: String?,
579-
validationMessage: String?,
580-
shouldRecordSuccess: Bool,
581-
shouldRestartGateway: Bool
582-
)
577+
statusMessage: String?,
578+
validationMessage: String?,
579+
shouldRecordSuccess: Bool,
580+
shouldRestartGateway: Bool)
583581
{
584582
let messages = self.messages(
585583
for: GatewayTailscaleApplyResult(

0 commit comments

Comments
 (0)