mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-05-26 07:34:39 +00:00
move chats every 3 seconds
This commit is contained in:
@@ -614,7 +614,7 @@ final class ChatModel: ObservableObject {
|
||||
|
||||
init() {
|
||||
subject
|
||||
.throttle(for: 10, scheduler: DispatchQueue.main, latest: true)
|
||||
.throttle(for: 3, scheduler: DispatchQueue.main, latest: true)
|
||||
.sink { self.popRecentChats() }
|
||||
.store(in: &bag)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user