mirror of
https://github.com/mastodon/mastodon-ios.git
synced 2025-02-03 18:57:46 +01:00
Fix missing case in StatusFetchedResultsController
This commit is contained in:
parent
7ad0b15b32
commit
66b2bfd5cd
@ -44,6 +44,8 @@ public final class StatusFetchedResultsController {
|
||||
newRecords[i] = status
|
||||
} else if let reblog = record.reblog, reblog.id == status.id {
|
||||
newRecords[i].reblog = status
|
||||
} else if status.reblog?.id == status.id {
|
||||
newRecords[i].reblog = status
|
||||
}
|
||||
}
|
||||
records = newRecords
|
||||
|
@ -33,6 +33,7 @@ extension StatusView {
|
||||
.receive(on: DispatchQueue.main)
|
||||
.sink(receiveValue: { status in
|
||||
self.isBookmark = status.bookmarked == true
|
||||
self.isMuting = status.muted == true
|
||||
})
|
||||
.store(in: &disposeBag)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user