summaryrefslogtreecommitdiff
path: root/Hutch/App
diff options
context:
space:
mode:
Diffstat (limited to 'Hutch/App')
-rw-r--r--Hutch/App/RootView.swift6
1 files changed, 6 insertions, 0 deletions
diff --git a/Hutch/App/RootView.swift b/Hutch/App/RootView.swift
index a71b247..96c17a8 100644
--- a/Hutch/App/RootView.swift
+++ b/Hutch/App/RootView.swift
@@ -269,6 +269,8 @@ enum MoreRoute: Hashable {
case settings
case mailingList(InboxMailingListReference)
case thread(InboxThreadSummary)
+ case manPageBrowser
+ case manPage(URL)
}
private struct MoreNavigationRoot: View {
@@ -302,6 +304,10 @@ private struct MoreNavigationRoot: View {
NeedsAttentionSnapshotStore.adjustUnreadInboxThreads(by: 1)
}
)
+ case .manPageBrowser:
+ ManPageBrowserView()
+ case .manPage(let url):
+ ManPageDetailView(url: url)
}
}
}