mirror of
git://jb55.com/damus
synced 2024-09-18 19:23:49 +00:00
ui: make blurred videos viewable by allowing blur to disappear once tapped
Closes: https://github.com/damus-io/damus/issues/1247 Changelog-Fixed: Make blurred videos viewable by allowing blur to disappear once tapped Signed-off-by: Daniel D’Aquino <daniel@daquino.me> Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
parent
c4a9f2fdb2
commit
510432bb98
@ -26,7 +26,7 @@ struct NoteContentView: View {
|
||||
|
||||
let damus_state: DamusState
|
||||
let event: NostrEvent
|
||||
let show_images: Bool
|
||||
@State var show_images: Bool
|
||||
let size: EventViewKind
|
||||
let preview_height: CGFloat?
|
||||
let options: EventViewOptions
|
||||
@ -139,7 +139,9 @@ struct NoteContentView: View {
|
||||
ZStack {
|
||||
ImageCarousel(state: damus_state, evid: event.id, urls: artifacts.media)
|
||||
Blur()
|
||||
.disabled(true)
|
||||
.onTapGesture {
|
||||
show_images = true
|
||||
}
|
||||
}
|
||||
//.cornerRadius(10)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user