Explorar el Código

Add a Settings button to the home sidebar below History.

Co-authored-by: Cursor <cursoragent@cursor.com>
AhtashamShahzad1 hace 3 semanas
padre
commit
2c2e52e97f
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      clone _of_clarus_ai_chat_bot/ViewModels/HomeViewModel.swift

+ 2 - 1
clone _of_clarus_ai_chat_bot/ViewModels/HomeViewModel.swift

@@ -7,7 +7,8 @@ final class HomeViewModel: ObservableObject {
     @Published var selectedModel = "Claude-Haiku"
 
     let navigationItems: [SidebarItem] = [
-        SidebarItem(title: "History", symbol: "clock")
+        SidebarItem(title: "History", symbol: "clock"),
+        SidebarItem(title: "Settings", symbol: "gearshape")
     ]
 
     let quickActions: [QuickAction] = [