diff --git a/punchnet/Views/Settings/SettingsView.swift b/punchnet/Views/Settings/SettingsView.swift index 17fc4f8..b2f1790 100644 --- a/punchnet/Views/Settings/SettingsView.swift +++ b/punchnet/Views/Settings/SettingsView.swift @@ -25,26 +25,9 @@ struct SettingsView: View { NavigationSplitView(columnVisibility: $columnVisibility) { List(MenuItem.allCases, id: \.self, selection: $selectedMenu) { menu in HStack(alignment: .center) { -// Rectangle() -// .frame(width: 3, height: 25) -// .foregroundColor(self.selectedMenu == menu ? .black : .clear) - Text(menu.rawValue) - Spacer() } -// .contentShape(Rectangle()) -// .onTapGesture { -// self.selectedMenu = menu -// } -// .onHover { inside in -// hovering = inside -// if inside { -// NSCursor.pointingHand.push() -// } else { -// NSCursor.pop() -// } -// } } .listStyle(.sidebar) .frame(minWidth: 180, idealWidth: 200, maxWidth: 250) diff --git a/punchnet/punchnetApp.swift b/punchnet/punchnetApp.swift index c4ea239..c6527dc 100644 --- a/punchnet/punchnetApp.swift +++ b/punchnet/punchnetApp.swift @@ -43,7 +43,7 @@ struct punchnetApp: App { var body: some Scene { WindowGroup(id: "mainWindow") { // RootView() - RegisterRootView() + SettingsView() .navigationTitle("") .environment(self.appContext) .environment(self.userContext)