소스 검색

Align the sidebar Settings row with other menu items.

Remove the custom icon width override so the Settings label starts at the same horizontal position as Schedule and Calendar.

Made-with: Cursor
huzaifahayat12 1 개월 전
부모
커밋
e9b4a3c00b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      meetings_app/ViewController.swift

+ 1 - 1
meetings_app/ViewController.swift

@@ -2390,7 +2390,7 @@ private extension ViewController {
2390 2390
         menuStack.addArrangedSubview(videoRow)
2391 2391
         sidebarRowViews[.video] = videoRow
2392 2392
         menuStack.addArrangedSubview(sidebarSectionTitle("Additional"))
2393
-        let settingsRow = sidebarItem("Settings", icon: "􀍟", page: .settings, systemSymbolName: "gearshape.fill", logoIconWidth: 24, logoHeightMultiplier: 1, showsDisclosure: true)
2393
+        let settingsRow = sidebarItem("Settings", icon: "􀍟", page: .settings, systemSymbolName: "gearshape.fill", logoHeightMultiplier: 1, showsDisclosure: true)
2394 2394
         menuStack.addArrangedSubview(settingsRow)
2395 2395
         sidebarRowViews[.settings] = settingsRow
2396 2396