Pārlūkot izejas kodu

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 3 mēneši atpakaļ
vecāks
revīzija
e9b4a3c00b
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      meetings_app/ViewController.swift

+ 1 - 1
meetings_app/ViewController.swift

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