From ae91b69f883b4cd22c294efbcf0c922966aeb408 Mon Sep 17 00:00:00 2001 From: dscyrescotti Date: Wed, 17 Jul 2024 20:06:46 +0700 Subject: [PATCH] feat: update tool bar background color --- Memola/Features/Dashboard/Dashboard/DashboardView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Memola/Features/Dashboard/Dashboard/DashboardView.swift b/Memola/Features/Dashboard/Dashboard/DashboardView.swift index 48cc22c..69d4645 100644 --- a/Memola/Features/Dashboard/Dashboard/DashboardView.swift +++ b/Memola/Features/Dashboard/Dashboard/DashboardView.swift @@ -52,7 +52,7 @@ struct DashboardView: View { } .animation(.easeIn, value: application.memoObject) .toolbar(application.memoObject == nil ? .visible : .hidden, for: .windowToolbar) - .toolbarBackground(application.memoObject == nil ? .clear : Color(nsColor: .windowBackgroundColor), for: .windowToolbar) + .toolbarBackground(Color(nsColor: .windowBackgroundColor), for: .windowToolbar) .onChange(of: columnVisibility) { oldValue, newValue in application.changeSidebarVisibility(newValue == .all ? .shown : .hidden) }