mirror of
https://github.com/writeas/writefreely-swiftui-multiplatform.git
synced 2024-11-15 01:11:02 +00:00
Clean up some properties
This commit is contained in:
parent
264298160b
commit
e06025c654
@ -2,6 +2,7 @@ import SwiftUI
|
||||
|
||||
struct PostCell: View {
|
||||
@EnvironmentObject var postStore: PostStore
|
||||
|
||||
@ObservedObject var post: Post
|
||||
|
||||
var body: some View {
|
||||
|
@ -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 {
|
||||
|
@ -2,6 +2,7 @@ import SwiftUI
|
||||
|
||||
struct PostList: View {
|
||||
@EnvironmentObject var postStore: PostStore
|
||||
|
||||
@State var selectedCollection: PostCollection
|
||||
@State var isPresentingSettings = false
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user