Просмотр исходного кода

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

Co-authored-by: Cursor <cursoragent@cursor.com>
AhtashamShahzad1 дней назад: 4
Родитель
Сommit
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 2982
             sidebar.addArrangedSubview(rowHost)
2983 2983
             let sidebarHorizontalInset = sidebar.edgeInsets.left + sidebar.edgeInsets.right
2984 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 2987
         let sidebarBottomSpacer = NSView()