Do main-q stuff on main-q

This commit is contained in:
Nathan Mattes 2023-11-13 14:15:40 +01:00
parent f45aba91dc
commit c6df361e4f
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@ extension ProfileAboutViewModel {
$emojiMeta.removeDuplicates() $emojiMeta.removeDuplicates()
) )
.throttle(for: 0.3, scheduler: DispatchQueue.main, latest: true) .throttle(for: 0.3, scheduler: DispatchQueue.main, latest: true)
.receive(on: DispatchQueue.main)
.sink { [weak self] isEditing, createdAt, fields, emojiMeta in .sink { [weak self] isEditing, createdAt, fields, emojiMeta in
guard let self = self else { return } guard let self = self else { return }
guard let diffableDataSource = self.diffableDataSource else { return } guard let diffableDataSource = self.diffableDataSource else { return }