diff --git a/Tusker/Views/Profile Header/ProfileHeaderView.swift b/Tusker/Views/Profile Header/ProfileHeaderView.swift index c0ce4bb5..a22cd242 100644 --- a/Tusker/Views/Profile Header/ProfileHeaderView.swift +++ b/Tusker/Views/Profile Header/ProfileHeaderView.swift @@ -93,6 +93,7 @@ class ProfileHeaderView: UIView { func updateUI(for accountID: String) { self.accountID = accountID + guard let mastodonController = mastodonController else { return } guard let account = mastodonController.persistentContainer.account(for: accountID) else { fatalError("Missing cached account \(accountID)") }