mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-05-12 15:15:20 +00:00
slow down chat list animation (uses deprecated modifiers)
This commit is contained in:
@@ -85,6 +85,7 @@ struct ChatListView: View {
|
||||
.listStyle(.plain)
|
||||
.navigationBarTitleDisplayMode(.inline)
|
||||
.navigationBarHidden(searchMode)
|
||||
.animation(.easeInOut(duration: 0.2))
|
||||
.toolbar {
|
||||
ToolbarItem(placement: .navigationBarLeading) {
|
||||
let user = chatModel.currentUser ?? User.sampleData
|
||||
@@ -154,6 +155,7 @@ struct ChatListView: View {
|
||||
.disabled(chatModel.chatRunning != true)
|
||||
}
|
||||
.offset(x: -8)
|
||||
.animation(nil)
|
||||
}
|
||||
}
|
||||
.onChange(of: chatModel.chatId) { _ in
|
||||
|
||||
Reference in New Issue
Block a user