mirror of
https://github.com/writeas/writefreely-swiftui-multiplatform.git
synced 2024-11-15 01:11:02 +00:00
Hide unnecessary popover frame as much as possible
This commit is contained in:
parent
7e6997a821
commit
9aa582dd65
@ -21,6 +21,7 @@ struct ActivePostToolbarView: View {
|
||||
isPresented: $isPresentingSharingServicePicker,
|
||||
sharingItems: createPostUrl()
|
||||
)
|
||||
.frame(width: .zero, height: .zero)
|
||||
}
|
||||
Button(action: { publishPost(activePost) }, label: { Image(systemName: "paperplane") })
|
||||
.disabled(activePost.body.isEmpty || activePost.status == PostStatus.published.rawValue)
|
||||
|
Loading…
Reference in New Issue
Block a user