ui: Longform Improvements
This patch improves longform previews by including the image title and tags. In addition with minor UI touch ups. Testing: iPhone 15 Pro Max (17.3.1) Dark Mode: https://v.nostr.build/9zgvv.mp4 iPhone SE (3rd generation) (16.4) Light Mode: https://v.nostr.build/VwEKQ.mp4 Closes: https://github.com/damus-io/damus/issues/1742 Changelog-Added: Added title image and tags to longform events Signed-off-by: ericholguin <ericholguin@apache.org> Link: 20240415031636.68846-1-ericholguin@apache.org Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
committed by
William Casarin
parent
8fbc9dc773
commit
e332a7f82c
@@ -29,7 +29,7 @@ struct EventBody: View {
|
||||
|
||||
var body: some View {
|
||||
if event.known_kind == .longform {
|
||||
LongformPreviewBody(state: damus_state, ev: event, options: options)
|
||||
LongformPreviewBody(state: damus_state, ev: event, options: options, header: true)
|
||||
|
||||
// truncated longform bodies are just the preview
|
||||
if !options.contains(.truncate_content) {
|
||||
|
||||
Reference in New Issue
Block a user