Fix another user-warning (IOS-192)

This commit is contained in:
Nathan Mattes 2024-02-09 19:10:24 +01:00
parent dc53fbbe7c
commit 3ff509cb27
1 changed files with 2 additions and 3 deletions

View File

@ -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