ソースを参照

Hide the Indeed sidebar row so navigation shows Home through Settings only.

Co-authored-by: Cursor <cursoragent@cursor.com>
AhtashamShahzad1 4 日 前
コミット
54439480f5
共有1 個のファイルを変更した0 個の追加4 個の削除を含む
  1. 0 4
      App for Indeed/Views/DashboardView.swift

+ 0 - 4
App for Indeed/Views/DashboardView.swift

@@ -2982,10 +2982,6 @@ final class DashboardView: NSView, NSTextFieldDelegate, NSSharingServicePickerDe
2982
             sidebar.addArrangedSubview(rowHost)
2982
             sidebar.addArrangedSubview(rowHost)
2983
             let sidebarHorizontalInset = sidebar.edgeInsets.left + sidebar.edgeInsets.right
2983
             let sidebarHorizontalInset = sidebar.edgeInsets.left + sidebar.edgeInsets.right
2984
             rowHost.widthAnchor.constraint(equalTo: sidebar.widthAnchor, constant: -sidebarHorizontalInset).isActive = true
2984
             rowHost.widthAnchor.constraint(equalTo: sidebar.widthAnchor, constant: -sidebarHorizontalInset).isActive = true
2985
-
2986
-            if item.title == L("Home") {
2987
-                addIndeedSidebarLaunchRow()
2988
-            }
2989
         }
2985
         }
2990
 
2986
 
2991
         let sidebarBottomSpacer = NSView()
2987
         let sidebarBottomSpacer = NSView()