mirror of
https://github.com/writeas/writefreely-swiftui-multiplatform.git
synced 2024-11-15 01:11:02 +00:00
Move post status badge to ToolbarItemPlacement.status position
This commit is contained in:
parent
932f3eee90
commit
1c7e2128d6
@ -25,7 +25,9 @@ struct PostEditor: View {
|
||||
}
|
||||
.padding()
|
||||
.toolbar {
|
||||
PostStatusBadge(post: post)
|
||||
ToolbarItem(placement: .status) {
|
||||
PostStatusBadge(post: post)
|
||||
}
|
||||
}
|
||||
.onAppear(perform: checkIfNewPost)
|
||||
.onDisappear(perform: addPostToStore)
|
||||
|
Loading…
Reference in New Issue
Block a user