diff --git a/Mastodon/Scene/HomeTimeline/HomeTimelineViewController.swift b/Mastodon/Scene/HomeTimeline/HomeTimelineViewController.swift index 06e1b2d8e..385ab8ef0 100644 --- a/Mastodon/Scene/HomeTimeline/HomeTimelineViewController.swift +++ b/Mastodon/Scene/HomeTimeline/HomeTimelineViewController.swift @@ -211,9 +211,8 @@ extension HomeTimelineViewController { self?.showEmptyView() let userDoesntFollowPeople: Bool - if let managedObjectContext = self?.context.managedObjectContext, - let authContext = self?.authContext, - let me = authContext.mastodonAuthenticationBox.authentication.user(in: managedObjectContext){ + if let authContext = self?.authContext, + let me = authContext.mastodonAuthenticationBox.authentication.account() { userDoesntFollowPeople = me.followersCount == 0 } else { userDoesntFollowPeople = true