From 0b7a600c6792d8e623c76e75c1a9051b80ec7a41 Mon Sep 17 00:00:00 2001 From: William Casarin Date: Mon, 2 Jan 2023 15:25:48 -0800 Subject: [PATCH] perf: fix janky linkpreview animation --- damus/Views/NoteContentView.swift | 1 - damus/Views/ProfilePicView.swift | 1 - 2 files changed, 2 deletions(-) diff --git a/damus/Views/NoteContentView.swift b/damus/Views/NoteContentView.swift index 0d9a419c..fab3e383 100644 --- a/damus/Views/NoteContentView.swift +++ b/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) } diff --git a/damus/Views/ProfilePicView.swift b/damus/Views/ProfilePicView.swift index b1a51743..297a7864 100644 --- a/damus/Views/ProfilePicView.swift +++ b/damus/Views/ProfilePicView.swift @@ -73,7 +73,6 @@ struct InnerProfilePicView: View { } struct ProfilePicView: View { - let pubkey: String let size: CGFloat let highlight: Highlight