Rename the formatted body text snapshots and regenerate them

This commit is contained in:
Stefan Ceriu
2025-09-10 12:19:34 +03:00
committed by Stefan Ceriu
parent 81b4fe2a9f
commit a3a30bfc12
17 changed files with 26 additions and 24 deletions
@@ -136,9 +136,11 @@ struct FormattedBodyText_Previews: PreviewProvider, TestablePreview {
static var previews: some View {
body(AttributedStringBuilderV1(cacheKey: "v1", mentionBuilder: MentionBuilder()))
.previewLayout(.sizeThatFits)
.previewDisplayName("v1")
body(AttributedStringBuilderV2(cacheKey: "v2", mentionBuilder: MentionBuilder()))
.previewLayout(.sizeThatFits)
.previewDisplayName("v2")
}
@ViewBuilder