summaryrefslogtreecommitdiff
path: root/Hutch/App/RootView.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Hutch/App/RootView.swift')
-rw-r--r--Hutch/App/RootView.swift10
1 files changed, 10 insertions, 0 deletions
diff --git a/Hutch/App/RootView.swift b/Hutch/App/RootView.swift
index f3e7159..c210d9d 100644
--- a/Hutch/App/RootView.swift
+++ b/Hutch/App/RootView.swift
@@ -207,6 +207,13 @@ struct RootView: View {
morePath.append(MoreRoute.lists)
morePath.append(MoreRoute.mailingList(mailingList))
}
+ case .systemStatus:
+ morePath = NavigationPath()
+ appState.selectedTab = .more
+ Task {
+ await settleNavigationTransition()
+ morePath.append(MoreRoute.systemStatus)
+ }
}
}
@@ -267,6 +274,7 @@ enum MoreRoute: Hashable {
case lists
case pastes
case profile
+ case systemStatus
case settings
case mailingList(InboxMailingListReference)
case thread(InboxThreadSummary)
@@ -287,6 +295,8 @@ private struct MoreNavigationRoot: View {
PasteListView()
case .profile:
ProfileView()
+ case .systemStatus:
+ SystemStatusView()
case .settings:
SettingsView()
case .mailingList(let mailingList):