Clean up some properties

This commit is contained in:
Angelo Stavrow 2020-08-11 17:03:30 -04:00
parent 264298160b
commit e06025c654
No known key found for this signature in database
GPG Key ID: 1A49C7064E060EEE
3 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,7 @@ import SwiftUI
struct PostCell: View {
@EnvironmentObject var postStore: PostStore
@ObservedObject var post: Post
var body: some View {

View File

@ -2,7 +2,9 @@ import SwiftUI
struct PostEditor: View {
@EnvironmentObject var postStore: PostStore
@ObservedObject var post: Post
@State private var isNewPost = false
var body: some View {

View File

@ -2,6 +2,7 @@ import SwiftUI
struct PostList: View {
@EnvironmentObject var postStore: PostStore
@State var selectedCollection: PostCollection
@State var isPresentingSettings = false