From fc10e4d6abe9a85bff76c018492896da7f052bbc Mon Sep 17 00:00:00 2001 From: Thomas Ricouard Date: Sat, 15 May 2021 21:59:42 +0200 Subject: [PATCH] Sidebar: Fix collapse button placement --- RedditOs/Features/Sidebar/SidebarView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RedditOs/Features/Sidebar/SidebarView.swift b/RedditOs/Features/Sidebar/SidebarView.swift index fbb025d..1eb58fa 100644 --- a/RedditOs/Features/Sidebar/SidebarView.swift +++ b/RedditOs/Features/Sidebar/SidebarView.swift @@ -32,7 +32,7 @@ struct SidebarView: View { isHovered = hovered }) .toolbar { - ToolbarItem(placement: .navigation) { + ToolbarItemGroup { Button(action: toggleSidebar, label: { Image(systemName: "sidebar.left") })