Skip to content

Commit 722fd30

Browse files
Update Sources/ClickIt/Lite/SimplifiedMainView.swift
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 648e66a commit 722fd30

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Sources/ClickIt/Lite/SimplifiedMainView.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -386,8 +386,8 @@ struct SimplifiedMainView: View {
386386
}
387387

388388
// MARK: - Preview
389-
// Note: Preview disabled for SPM command-line builds due to macro plugin requirements
390-
// Uncomment when building in Xcode:
391-
// #Preview {
392-
// SimplifiedMainView()
393-
// }
389+
#if DEBUG
390+
#Preview {
391+
SimplifiedMainView()
392+
}
393+
#endif

0 commit comments

Comments
 (0)