mirror of
https://github.com/writeas/writefreely-swiftui-multiplatform.git
synced 2024-11-15 01:11:02 +00:00
Don't trigger navigation to Drafts list when creating new post
This commit is contained in:
parent
dd4a82ac80
commit
4d4032594c
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user