forked from shadowfacts/Tusker
Fix conversation reloading on appear
This commit is contained in:
parent
ccfc8331fb
commit
5623cedab3
|
@ -111,9 +111,11 @@ class ConversationViewController: UIViewController {
|
||||||
super.viewWillAppear(animated)
|
super.viewWillAppear(animated)
|
||||||
|
|
||||||
Task {
|
Task {
|
||||||
|
if case .unloaded = state {
|
||||||
await loadMainStatus()
|
await loadMainStatus()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@objc private func handleStatusDeleted(_ notification: Foundation.Notification) {
|
@objc private func handleStatusDeleted(_ notification: Foundation.Notification) {
|
||||||
guard let userInfo = notification.userInfo,
|
guard let userInfo = notification.userInfo,
|
||||||
|
|
Loading…
Reference in New Issue