diff --git a/Shared/PostList/PostListView.swift b/Shared/PostList/PostListView.swift index 5413e88..8199e17 100644 --- a/Shared/PostList/PostListView.swift +++ b/Shared/PostList/PostListView.swift @@ -104,9 +104,9 @@ struct PostListView: View { } .onDisappear { DispatchQueue.main.async { - model.selectedCollection = nil - model.showAllPosts = true - model.selectedPost = nil + self.model.selectedCollection = nil + self.model.showAllPosts = true + self.model.selectedPost = nil } } .navigationTitle(