From 299f3d421efa833da93678cb16d2541654472f8d Mon Sep 17 00:00:00 2001 From: Phil Viso Date: Sat, 4 Jul 2020 09:34:56 -0500 Subject: [PATCH] Fixed refresh progress label truncating --- Multiplatform/Shared/Sidebar/SidebarToolbar.swift | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/Multiplatform/Shared/Sidebar/SidebarToolbar.swift b/Multiplatform/Shared/Sidebar/SidebarToolbar.swift index bdee3a887..fd8ee3188 100644 --- a/Multiplatform/Shared/Sidebar/SidebarToolbar.swift +++ b/Multiplatform/Shared/Sidebar/SidebarToolbar.swift @@ -24,19 +24,25 @@ struct SidebarToolbar: ViewModifier { AppAssets.settingsImage .font(.title3) .foregroundColor(.accentColor) - Spacer() }).help("Settings") } - ToolbarItem(placement: .automatic, content: { + ToolbarItem { + Spacer() + } + + ToolbarItem(placement: .automatic) { RefreshProgressView() - }) + } + + ToolbarItem { + Spacer() + } ToolbarItem(placement: .automatic, content: { Button(action: { viewModel.showActionSheet = true }, label: { - Spacer() AppAssets.addMenuImage .font(.title3) .foregroundColor(.accentColor)