From e676075d5bf4bacb3a347fc99e8408c76d6aac66 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Sun, 25 Dec 2022 10:03:07 -0500 Subject: [PATCH] Fix spacing on toolbar when visibility and local-only items visible --- Tusker/Screens/Compose/ComposeToolbar.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tusker/Screens/Compose/ComposeToolbar.swift b/Tusker/Screens/Compose/ComposeToolbar.swift index 8cecb2e6..4c19e37e 100644 --- a/Tusker/Screens/Compose/ComposeToolbar.swift +++ b/Tusker/Screens/Compose/ComposeToolbar.swift @@ -36,14 +36,14 @@ struct ComposeToolbar: View { MenuPicker(selection: $draft.visibility, options: Self.visibilityOptions, buttonStyle: .iconOnly) // // the button has a bunch of extra space by default, but combined with what we add it's too much -// .padding(.horizontal, -8) + .padding(.horizontal, -8) if mastodonController.instanceFeatures.localOnlyPosts { MenuPicker(selection: $draft.localOnly, options: [ .init(value: true, title: "Local-only", subtitle: "Only \(mastodonController.accountInfo!.instanceURL.host!)", image: UIImage(named: "link.broken")), .init(value: false, title: "Federated", image: UIImage(systemName: "link")) ], buttonStyle: .iconOnly) -// .padding(.horizontal, -8) + .padding(.horizontal, -8) } if let currentInput = uiState.currentInput, currentInput.toolbarElements.contains(.emojiPicker) {