From cbefe5fb9b02ce6d111e66214ea539432c8b179b Mon Sep 17 00:00:00 2001 From: lick <2188718831@qq.com> Date: Thu, 19 Nov 2026 03:03:44 -0800 Subject: [PATCH] style(desktop): gofmt toolchains_state.go main fails the gofmt check since #2195 aligned only part of the struct. Co-Authored-By: Claude Opus 5.5 --- .../internal/settingswindow/toolchains_state.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/desktop/internal/settingswindow/toolchains_state.go b/desktop/internal/settingswindow/toolchains_state.go index eb88e7ee1..a0cdc76b8 100644 --- a/desktop/internal/settingswindow/toolchains_state.go +++ b/desktop/internal/settingswindow/toolchains_state.go @@ -376,14 +376,14 @@ type toolchainState struct { trustWanted bool trusting bool - runtimeEffect *ui.EffectState[toolchain.Snapshot, int] - runtimeKey int - runtimeScope string - runtimeSnapshot toolchain.Snapshot - runtimeTool toolchain.Tool + runtimeEffect *ui.EffectState[toolchain.Snapshot, int] + runtimeKey int + runtimeScope string + runtimeSnapshot toolchain.Snapshot + runtimeTool toolchain.Tool preparingRuntime bool - runtimeProgress atomic.Pointer[pluginruntime.Progress] - invalidate func() + runtimeProgress atomic.Pointer[pluginruntime.Progress] + invalidate func() // failed is the last write, check or trust request's error; a read's error is its scope's. failed error