Fix handling feed

This commit is contained in:
Arkadiusz Fal
2022-12-14 17:23:04 +01:00
parent 2812ea0301
commit b55c6f8619
4 changed files with 14 additions and 30 deletions

View File

@@ -22,10 +22,6 @@ struct FeedView: View {
.onAppear {
feed.loadResources()
}
.onChange(of: accounts.current) { _ in
feed.reset()
feed.loadResources(force: true)
}
#if os(iOS)
.refreshControl { refreshControl in
feed.loadResources(force: true) {