perf: fix janky linkpreview animation
This commit is contained in:
@@ -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)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user