Browse Source
Merge pull request #182 from writeas/stay-in-selected-blog-on-new-post
Don't trigger navigation to Drafts list when creating new post
tags/v1.0.5-ios
Angelo Stavrow
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
1 deletions
-
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: { |
|
|
|