Fix mock content build
This commit is contained in:
@ -56,7 +56,6 @@ struct FileToAddView: View {
|
||||
Text(file.url?.path() ?? "Placeholder file")
|
||||
.foregroundStyle(.secondary)
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -14,10 +14,12 @@ struct LocalizedPostDetailView: View {
|
||||
text: $post.pageLinkText,
|
||||
footer: "The custom text to show for the link to the linked page")
|
||||
|
||||
/*
|
||||
LinkPreviewDetailView(
|
||||
linkPreview: post.linkPreview,
|
||||
fallbackTitle: post.title,
|
||||
transferImage: transferImage)
|
||||
*/
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -83,6 +83,13 @@ struct TagSelectionView: View {
|
||||
#Preview {
|
||||
TagSelectionView(
|
||||
presented: .constant(true),
|
||||
selected: .constant([.Mock.hiking, .Mock.nature]),
|
||||
tags: .constant([.Mock.sports, .Mock.electronics]))
|
||||
selected: .constant([
|
||||
Tag.Mock.hiking,
|
||||
Tag.Mock.nature
|
||||
]),
|
||||
tags: .constant([
|
||||
Tag.Mock.sports,
|
||||
Tag.Mock.electronics
|
||||
])
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user