perf: fix janky linkpreview animation

This commit is contained in:
William Casarin
2023-01-02 15:25:48 -08:00
parent bd5390fbc0
commit 0b7a600c67
2 changed files with 0 additions and 2 deletions

View File

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

View File

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