From 4d4032594c00ed72edb47d49bffe9d5d122431a2 Mon Sep 17 00:00:00 2001 From: Angelo Stavrow Date: Thu, 18 Mar 2021 16:25:30 -0400 Subject: [PATCH] Don't trigger navigation to Drafts list when creating new post --- Shared/PostList/PostListView.swift | 1 - 1 file changed, 1 deletion(-) diff --git a/Shared/PostList/PostListView.swift b/Shared/PostList/PostListView.swift index 149f37b..f88909d 100644 --- a/Shared/PostList/PostListView.swift +++ b/Shared/PostList/PostListView.swift @@ -39,7 +39,6 @@ struct PostListView: View { let managedPost = model.editor.generateNewLocalPost(withFont: model.preferences.font) withAnimation { self.model.showAllPosts = false - self.model.selectedCollection = nil self.model.selectedPost = managedPost } }, label: {