Skip to content

Commit

Permalink
Fix toggling "hide read" not immediately updating (#852)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sjmarf authored Jan 12, 2024
1 parent 938db61 commit 0672654
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Mlem/Views/Tabs/Feeds/PostFeedView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ struct PostFeedView: View {
}
.onChange(of: showReadPosts) { _ in
Task(priority: .userInitiated) {
postTracker.filter = self.filter
await postTracker.refresh(clearBeforeFetch: true)
}
}
Expand Down

0 comments on commit 0672654

Please sign in to comment.