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() self?.showEmptyView()
let userDoesntFollowPeople: Bool let userDoesntFollowPeople: Bool
if let managedObjectContext = self?.context.managedObjectContext, if let authContext = self?.authContext,
let authContext = self?.authContext, let me = authContext.mastodonAuthenticationBox.authentication.account() {
let me = authContext.mastodonAuthenticationBox.authentication.user(in: managedObjectContext){
userDoesntFollowPeople = me.followersCount == 0 userDoesntFollowPeople = me.followersCount == 0
} else { } else {
userDoesntFollowPeople = true userDoesntFollowPeople = true