replying works

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2022-04-17 08:49:02 -07:00
parent b4660bd58f
commit 700a0e2625
5 changed files with 53 additions and 3 deletions

View File

@@ -0,0 +1,34 @@
//
// ReplyView.swift
// damus
//
// Created by William Casarin on 2022-04-17.
//
import SwiftUI
struct ReplyView: View {
let replying_to: NostrEvent
var body: some View {
VStack {
Text("Replying to:")
EventView(event: replying_to, highlight: .none, has_action_bar: false)
PostView(references: replying_to.reply_ids())
Spacer()
}
.padding()
}
}
/*
struct ReplyView_Previews: PreviewProvider {
static var previews: some View {
ReplyView()
}
}
*/