Remove event details from full screen carousel
Changelog-Changed: Removed event contents from full screen media carousel for cleaner view Signed-off-by: Daniel D’Aquino <daniel@daquino.me>
This commit is contained in:
@@ -119,15 +119,7 @@ struct NoteContentView: View {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func fullscreen_preview(dismiss: @escaping () -> Void) -> some View {
|
func fullscreen_preview(dismiss: @escaping () -> Void) -> some View {
|
||||||
VStack {
|
EmptyView()
|
||||||
EventView(damus: damus_state, event: self.event, options: .embedded_text_only)
|
|
||||||
.padding(.top)
|
|
||||||
}
|
|
||||||
.background(.thickMaterial)
|
|
||||||
.onTapGesture(perform: {
|
|
||||||
damus_state.nav.push(route: Route.Thread(thread: .init(event: self.event, damus_state: damus_state)))
|
|
||||||
dismiss()
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func MainContent(artifacts: NoteArtifactsSeparated) -> some View {
|
func MainContent(artifacts: NoteArtifactsSeparated) -> some View {
|
||||||
|
|||||||
Reference in New Issue
Block a user