Преглед на файлове

Unify home sidebar and top bar chrome colors.

This makes the left navigation background use the same shared chrome color as the top bar to keep the home header/sidebar visual treatment consistent.

Made-with: Cursor
huzaifahayat12 преди 6 дни
родител
ревизия
698f501e05
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      zoom_app/ViewController.swift

+ 1 - 1
zoom_app/ViewController.swift

@@ -967,7 +967,7 @@ class ViewController: NSViewController {
967 967
     private func makeSidebar(items: [String], selected: String, style: SidebarStyle = .login) -> NSView {
968 968
         let sidebar = NSView()
969 969
         sidebar.wantsLayer = true
970
-        sidebar.layer?.backgroundColor = (style == .home ? NSColor.white.withAlphaComponent(0.03) : sidebarBackground).cgColor
970
+        sidebar.layer?.backgroundColor = (style == .home ? chromeUnifiedBackground : sidebarBackground).cgColor
971 971
 
972 972
         let stack = NSStackView()
973 973
         stack.orientation = .vertical