mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2025-06-28 20:29:53 +00:00
remove separator animation
This commit is contained in:
parent
d3cc775a80
commit
6b8c4ccb89
1 changed files with 2 additions and 2 deletions
|
@ -533,12 +533,12 @@ struct ChatView: View {
|
||||||
!isDateVisible,
|
!isDateVisible,
|
||||||
let date, !Calendar.current.isDateInToday(date) {
|
let date, !Calendar.current.isDateInToday(date) {
|
||||||
await MainActor.run {
|
await MainActor.run {
|
||||||
withAnimation { isDateVisible = true }
|
isDateVisible = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if isDateVisible {
|
} else if isDateVisible {
|
||||||
await MainActor.run {
|
await MainActor.run {
|
||||||
withAnimation { isDateVisible = false }
|
isDateVisible = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue