mirror of
https://github.com/mastodon/mastodon-ios
synced 2025-04-11 22:58:02 +02:00
Fix another user-warning (IOS-192)
This commit is contained in:
parent
dc53fbbe7c
commit
3ff509cb27
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user