From edacb3d39daa1eecd20fe2fee619aa84d481c5af Mon Sep 17 00:00:00 2001 From: Sjmarf <78750526+Sjmarf@users.noreply.github.com> Date: Thu, 11 Jan 2024 22:26:08 +0000 Subject: [PATCH] Update PostFeedView.swift --- Mlem/Views/Tabs/Feeds/PostFeedView.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Mlem/Views/Tabs/Feeds/PostFeedView.swift b/Mlem/Views/Tabs/Feeds/PostFeedView.swift index 0665a48e0..c0ff94f84 100644 --- a/Mlem/Views/Tabs/Feeds/PostFeedView.swift +++ b/Mlem/Views/Tabs/Feeds/PostFeedView.swift @@ -112,6 +112,7 @@ struct PostFeedView: View { } .onChange(of: showReadPosts) { _ in Task(priority: .userInitiated) { + postTracker.filter = self.filter await postTracker.refresh(clearBeforeFetch: true) } }