From 27bfcbbed6acde158ec40c5bb46e45e76c81a319 Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Sat, 11 Apr 2026 19:47:34 -0500 Subject: refactor: extract ProfileView from SettingsView Move profile-related UI into its own dedicated ProfileView, simplifying SettingsView and improving navigation structure in MoreView. --- Hutch/Views/More/MoreView.swift | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'Hutch/Views/More/MoreView.swift') diff --git a/Hutch/Views/More/MoreView.swift b/Hutch/Views/More/MoreView.swift index b03aa3a..09aa37a 100644 --- a/Hutch/Views/More/MoreView.swift +++ b/Hutch/Views/More/MoreView.swift @@ -11,15 +11,17 @@ struct MoreView: View { var body: some View { List { - Section { + Section("Search") { NavigationLink(value: MoreRoute.lookup) { Label("Look Up", systemImage: "magnifyingglass") } + } + Section("Other Services") { NavigationLink(value: MoreRoute.lists) { Label("Mailing Lists", systemImage: "list.bullet.rectangle") } - + NavigationLink(value: MoreRoute.manPageBrowser) { Label("Man Pages", systemImage: "book") } @@ -27,6 +29,12 @@ struct MoreView: View { NavigationLink(value: MoreRoute.pastes) { Label("Pastes", systemImage: "doc.on.clipboard") } + } + + Section("Meta") { + NavigationLink(value: MoreRoute.profile) { + Label("Profile", systemImage: "person.text.rectangle") + } NavigationLink(value: MoreRoute.settings) { Label("Settings", systemImage: "gear") -- cgit v1.2.3