diff options
| author | Christian Cleberg <[email protected]> | 2026-04-11 19:47:34 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2026-04-11 19:47:34 -0500 |
| commit | 27bfcbbed6acde158ec40c5bb46e45e76c81a319 (patch) | |
| tree | 0acee79279f8544124b1bc0f0b056265513a6d92 /Hutch/Views/More/MoreView.swift | |
| parent | 2e6b653f4d0b54d892a448f908799b8ac4d726a9 (diff) | |
| download | hutch-2.10.3.tar.gz hutch-2.10.3.tar.bz2 hutch-2.10.3.zip | |
refactor: extract ProfileView from SettingsViewv2.10.3
Move profile-related UI into its own dedicated ProfileView, simplifying
SettingsView and improving navigation structure in MoreView.
Diffstat (limited to 'Hutch/Views/More/MoreView.swift')
| -rw-r--r-- | Hutch/Views/More/MoreView.swift | 12 |
1 files changed, 10 insertions, 2 deletions
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") |
