Browse Source

perf: fix janky linkpreview animation

post-button-style
William Casarin 2 years ago
parent
commit
0b7a600c67
  1. 1
      damus/Views/NoteContentView.swift
  2. 1
      damus/Views/ProfilePicView.swift

1
damus/Views/NoteContentView.swift

@ -103,7 +103,6 @@ struct NoteContentView: View {
var body: some View {
MainContent()
.animation(.easeInOut, value: metaData)
.onAppear() {
self.artifacts = render_note_content(ev: event, profiles: profiles, privkey: privkey)
}

1
damus/Views/ProfilePicView.swift

@ -73,7 +73,6 @@ struct InnerProfilePicView: View {
}
struct ProfilePicView: View {
let pubkey: String
let size: CGFloat
let highlight: Highlight

Loading…
Cancel
Save