profile: don't auto-load followers

This is a bandwidth-intensive operation

Changelog-Changed: Don't auto-load follower count
This commit is contained in:
William Casarin
2022-12-23 15:17:19 -08:00
parent 85ba7bbed0
commit acb2049641
3 changed files with 33 additions and 13 deletions

View File

@@ -47,7 +47,7 @@ struct FollowersView: View {
let profile = damus_state.profiles.lookup(id: whos)
ScrollView {
LazyVStack(alignment: .leading) {
ForEach(followers.contacts, id: \.self) { pk in
ForEach(followers.contacts ?? [], id: \.self) { pk in
FollowUserView(target: .pubkey(pk), damus_state: damus_state)
}
}