Skip to content

Commit 237d213

Browse files
committed
TEMP (revert before merge): trip the preview-string lint on purpose
Re-introduces a localizable `Text("Card Content")` inside CardView's `#Preview` to demonstrate that the new "Lint SwiftUI Preview Strings" CI step fails on a preview regression. This commit is a proof-of-gate and must be reverted before this PR merges.
1 parent f2b3b7d commit 237d213

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/Sources/WordPressUI/Views/CardView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public struct CardView<Content: View>: View {
3333
#Preview("With Title") {
3434
CardView("Section Title") {
3535
VStack(alignment: .leading, spacing: 12) {
36-
Text(verbatim: "Card Content")
36+
Text("Card Content")
3737
Text(verbatim: "More content here")
3838
.foregroundStyle(.secondary)
3939
}

0 commit comments

Comments
 (0)