Fix mock content build

This commit is contained in:
Christoph Hagen
2025-04-06 13:29:24 +02:00
parent 80e90c4055
commit 01c49433cd
10 changed files with 42 additions and 26 deletions

View File

@ -56,7 +56,6 @@ struct FileToAddView: View {
Text(file.url?.path() ?? "Placeholder file")
.foregroundStyle(.secondary)
}
}
}

View File

@ -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)
*/
}
}
}

View File

@ -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
])
)
}