mirror of
https://github.com/writeas/writefreely-swiftui-multiplatform.git
synced 2024-11-15 01:11:02 +00:00
Ensure we’re setting the model object’s properties
This commit is contained in:
parent
246d3948a9
commit
c826806bc1
@ -104,9 +104,9 @@ struct PostListView: View {
|
||||
}
|
||||
.onDisappear {
|
||||
DispatchQueue.main.async {
|
||||
model.selectedCollection = nil
|
||||
model.showAllPosts = true
|
||||
model.selectedPost = nil
|
||||
self.model.selectedCollection = nil
|
||||
self.model.showAllPosts = true
|
||||
self.model.selectedPost = nil
|
||||
}
|
||||
}
|
||||
.navigationTitle(
|
||||
|
Loading…
Reference in New Issue
Block a user