We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 82ae6d2 + ec88221 commit ba73b8fCopy full SHA for ba73b8f
1 file changed
macos/Sources/Features/GitDiff/GitDiffSidebarState.swift
@@ -161,8 +161,11 @@ final class GitDiffSidebarState: ObservableObject {
161
162
let start = DispatchTime.now().uptimeNanoseconds
163
164
- isLoading = true
165
- defer { isLoading = false }
+ // Only show the loading spinner for forced (user-initiated) refreshes,
+ // not for background poll/watch refreshes, to avoid visual pulsing.
166
+ let showLoading = force
167
+ if showLoading { isLoading = true }
168
+ defer { if showLoading { isLoading = false } }
169
170
let root = await store.repoRoot(for: effectiveCwd.path)
171
repoRoot = root
0 commit comments