Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Xcodes/Frontend/Cleanup/CleanupCategorySection.swift
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ struct CleanupCategorySection: View {
}
if expanded {
Divider()
LazyVStack(alignment: .leading, spacing: 0) {
VStack(alignment: .leading, spacing: 0) {
if let explanation {
Text(explanation).foregroundStyle(.secondary).padding(.vertical, 8)
}
Expand Down
2 changes: 1 addition & 1 deletion Xcodes/Frontend/Cleanup/CleanupRuntimeSection.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ struct CleanupRuntimeSection: View {
.onHover { hovering = $0 }
if expanded {
Divider()
LazyVStack(alignment: .leading, spacing: 0) {
VStack(alignment: .leading, spacing: 0) {
ForEach(runtimes) { runtime in CleanupRuntimeItemRow(model: model, runtime: runtime) }
}
.padding(.horizontal, 12).padding(.leading, 28)
Expand Down
4 changes: 3 additions & 1 deletion Xcodes/Frontend/Cleanup/CleanupWindow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ struct CleanupWindow: View {
CleanupProgressView(progress: progress, stop: model.stopCleanupAfterCurrentItem)
}
ScrollView {
LazyVStack(alignment: .leading, spacing: 14) {
// Eager on purpose: as a LazyVStack, the tall, variable-height section cards kept invalidating its
// size estimates and item phases, leaving the main thread stuck in a layout loop.
VStack(alignment: .leading, spacing: 14) {
if sections.isEmpty && !model.isScanning {
Text(model.selectedOperatingSystem == nil ? "No cleanup findings. Add a folder to scan." : "No items match this OS version.").foregroundStyle(.secondary)
}
Expand Down