remove separator animation

This commit is contained in:
Levitating Pineapple
2024-09-06 18:12:52 +03:00
parent d3cc775a80
commit 6b8c4ccb89
+2 -2
View File
@@ -533,12 +533,12 @@ struct ChatView: View {
!isDateVisible,
let date, !Calendar.current.isDateInToday(date) {
await MainActor.run {
withAnimation { isDateVisible = true }
isDateVisible = true
}
}
} else if isDateVisible {
await MainActor.run {
withAnimation { isDateVisible = false }
isDateVisible = false
}
}
}