From 00cc231e9b419d27b412036d93457c2cbabe0b16 Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Sat, 11 Apr 2026 23:36:35 -0500 Subject: Add SourceHut system status screen and home disruption banner --- Hutch/App/RootView.swift | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Hutch/App/RootView.swift') 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): -- cgit v1.2.3