Add single file audio player, introduce blocks
This commit is contained in:
@ -17,10 +17,10 @@ struct GenerationContentView: View {
|
||||
|
||||
var body: some View {
|
||||
switch selectedSection {
|
||||
case .folders, .navigationBar, .postFeed, .tagOverview:
|
||||
generationView
|
||||
case .pages:
|
||||
PageSettingsContentView()
|
||||
default:
|
||||
generationView
|
||||
}
|
||||
}
|
||||
|
||||
@ -96,6 +96,11 @@ struct GenerationContentView: View {
|
||||
Text(markdown)
|
||||
}
|
||||
}
|
||||
Section("Invalid blocks") {
|
||||
ForEach(content.results.invalidBlocks.sorted(), id: \.self) { markdown in
|
||||
Text(markdown)
|
||||
}
|
||||
}
|
||||
Section("Warnings") {
|
||||
ForEach(content.results.warnings.sorted(), id: \.self) { warning in
|
||||
Text(warning)
|
||||
|
Reference in New Issue
Block a user