From 5623cedab34e0857c7ade70213212b0ebd9bdf25 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Wed, 18 Jan 2023 13:59:42 -0500 Subject: [PATCH] Fix conversation reloading on appear --- Tusker/Screens/Conversation/ConversationViewController.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Tusker/Screens/Conversation/ConversationViewController.swift b/Tusker/Screens/Conversation/ConversationViewController.swift index 44415c78..9d2d0b98 100644 --- a/Tusker/Screens/Conversation/ConversationViewController.swift +++ b/Tusker/Screens/Conversation/ConversationViewController.swift @@ -111,7 +111,9 @@ class ConversationViewController: UIViewController { super.viewWillAppear(animated) Task { - await loadMainStatus() + if case .unloaded = state { + await loadMainStatus() + } } }