perf: don't continuously attempt to fetch old profiles
Changelog-Changed: Save bandwidth by only fetching new profiles after a certain amount of time
This commit is contained in:
@@ -151,7 +151,8 @@ struct FollowingView: View {
|
||||
}
|
||||
.tabViewStyle(.page(indexDisplayMode: .never))
|
||||
.onAppear {
|
||||
following.subscribe()
|
||||
let txn = NdbTxn(ndb: self.damus_state.ndb)
|
||||
following.subscribe(txn: txn)
|
||||
}
|
||||
.onDisappear {
|
||||
following.unsubscribe()
|
||||
|
||||
Reference in New Issue
Block a user