We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8230c46 commit ebc53dcCopy full SHA for ebc53dc
Shared/Models/Comment.swift
@@ -46,7 +46,7 @@ extension Comment {
46
id = "123"
47
author = "sirarkimedes"
48
score = 123556
49
- body = "The Greatest Of All Time"
+ body = "This is a body of text that is purely to act as an example!"
50
if nested != 0 {
51
replies = CommentListing(data: CommentListing.CommentListingData(children: [CommentListing.CommentListingData.CommentData(data: Comment(nested: nested - 1))]))
52
} else{
Shared/Views/PostView.swift
@@ -49,3 +49,11 @@ struct PostView: View {
}
+
53
+#if DEBUG
54
+struct PostView_Previews: PreviewProvider {
55
+ static var previews: some View {
56
+ PostView(post: Post.example)
57
+ }
58
+}
59
+#endif
0 commit comments