From 43088fdc44582a5a324aaf1206ea403c46d431a4 Mon Sep 17 00:00:00 2001 From: Angelo Stavrow Date: Tue, 1 Dec 2020 10:01:56 -0500 Subject: [PATCH] Swap order of share and publish buttons in toolbar --- macOS/Navigation/ActivePostToolbarView.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/macOS/Navigation/ActivePostToolbarView.swift b/macOS/Navigation/ActivePostToolbarView.swift index 58e223c..68b9d93 100644 --- a/macOS/Navigation/ActivePostToolbarView.swift +++ b/macOS/Navigation/ActivePostToolbarView.swift @@ -8,10 +8,10 @@ struct ActivePostToolbarView: View { HStack(spacing: 16) { PostEditorStatusToolbarView(post: activePost) HStack(spacing: 4) { - Button(action: { publishPost(activePost) }, label: { Image(systemName: "paperplane") }) - .disabled(activePost.body.isEmpty || activePost.status == PostStatus.published.rawValue) Button(action: {}, label: { Image(systemName: "square.and.arrow.up") }) .disabled(activePost.status == PostStatus.local.rawValue) + Button(action: { publishPost(activePost) }, label: { Image(systemName: "paperplane") }) + .disabled(activePost.body.isEmpty || activePost.status == PostStatus.published.rawValue) } } }