Don't load related followers for current user

This commit is contained in:
Thomas Ricouard 2023-01-18 19:11:13 +01:00
parent 8921e6c8df
commit f968a4b652

View file

@ -89,10 +89,12 @@ public struct AccountDetailView: View {
await viewModel.fetchStatuses() await viewModel.fetchStatuses()
} }
} }
if !viewModel.isCurrentUser {
group.addTask { await viewModel.fetchFamilliarFollowers() } group.addTask { await viewModel.fetchFamilliarFollowers() }
} }
} }
} }
}
.refreshable { .refreshable {
Task { Task {
await viewModel.fetchAccount() await viewModel.fetchAccount()