Ver código fonte

Fix sidebar Settings icon alignment and sizing consistency.

This replaces the custom Settings logo asset with a standard symbol and normalized dimensions so the row aligns with the other sidebar items.

Made-with: Cursor
huzaifahayat12 1 mês atrás
pai
commit
c061890fee
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      meetings_app/ViewController.swift

+ 1 - 1
meetings_app/ViewController.swift

@@ -2174,7 +2174,7 @@ private extension ViewController {
2174 2174
         menuStack.addArrangedSubview(videoRow)
2175 2175
         sidebarRowViews[.video] = videoRow
2176 2176
         menuStack.addArrangedSubview(sidebarSectionTitle("Additional"))
2177
-        let settingsRow = sidebarItem("Settings", icon: "􀍟", page: .settings, logoImageName: "SidebarSettingsLogo", logoIconWidth: 28, logoHeightMultiplier: 68.0 / 62.0, showsDisclosure: true)
2177
+        let settingsRow = sidebarItem("Settings", icon: "􀍟", page: .settings, systemSymbolName: "gearshape.fill", logoIconWidth: 24, logoHeightMultiplier: 1, showsDisclosure: true)
2178 2178
         menuStack.addArrangedSubview(settingsRow)
2179 2179
         sidebarRowViews[.settings] = settingsRow
2180 2180