mirror of
https://github.com/writeas/writefreely-swiftui-multiplatform.git
synced 2024-11-15 01:11:02 +00:00
Track changes to model.showAllPosts in @AppStorage
This commit is contained in:
parent
deadfb8509
commit
083d69d143
@ -80,6 +80,9 @@ struct CollectionListView: View {
|
||||
.onChange(of: model.selectedCollection) { collection in
|
||||
self.selectedCollectionURL = collection?.objectID.uriRepresentation()
|
||||
}
|
||||
.onChange(of: model.showAllPosts) { value in
|
||||
self.showAllPostsFlag = model.showAllPosts
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user