Merge pull request #606 from mastodon/fix-timeline-crash
Fix timeline crash
This commit is contained in:
commit
cf28286d89
|
@ -130,6 +130,7 @@ extension StatusView {
|
|||
authorization: authenticationBox.userAuthorization
|
||||
).singleOutput()
|
||||
}
|
||||
.receive(on: DispatchQueue.main)
|
||||
.sink { completion in
|
||||
// do nothing
|
||||
} receiveValue: { [weak self] response in
|
||||
|
|
|
@ -203,6 +203,7 @@ extension StatusView.ViewModel {
|
|||
statusView.headerInfoLabel.configure(content: info.header)
|
||||
statusView.setHeaderDisplay()
|
||||
case .reply(let info):
|
||||
assert(Thread.isMainThread)
|
||||
statusView.headerIconImageView.image = UIImage(systemName: "arrowshape.turn.up.left.fill")
|
||||
statusView.headerInfoLabel.configure(content: info.header)
|
||||
statusView.setHeaderDisplay()
|
||||
|
|
Loading…
Reference in New Issue