diff options
| author | Christian Cleberg <[email protected]> | 2026-03-19 01:53:46 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2026-03-19 01:53:46 -0500 |
| commit | 1e3c748119c6e9eec27f02146f17ea0302ff648a (patch) | |
| tree | 6a5a7c6d22a9022b1b3daa3710768d12981ca0ed /Hutch/Views/Inbox/ThreadDetailView.swift | |
| parent | 441b69afae30ee6b662be38004fd7b5de1e47302 (diff) | |
| download | hutch-1e3c748119c6e9eec27f02146f17ea0302ff648a.tar.gz hutch-1e3c748119c6e9eec27f02146f17ea0302ff648a.tar.bz2 hutch-1e3c748119c6e9eec27f02146f17ea0302ff648a.zip | |
feat: add inbox threads and move builds under more
Diffstat (limited to 'Hutch/Views/Inbox/ThreadDetailView.swift')
| -rw-r--r-- | Hutch/Views/Inbox/ThreadDetailView.swift | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Hutch/Views/Inbox/ThreadDetailView.swift b/Hutch/Views/Inbox/ThreadDetailView.swift index 3c42e7f..7677698 100644 --- a/Hutch/Views/Inbox/ThreadDetailView.swift +++ b/Hutch/Views/Inbox/ThreadDetailView.swift @@ -93,6 +93,14 @@ struct ThreadDetailView: View { .padding(.vertical, 4) } + if let partialWarning = viewModel.partialWarning { + Section { + Text(partialWarning) + .font(.caption) + .foregroundStyle(.secondary) + } + } + ForEach(thread.messages) { message in InboxMessageRow(message: message) } @@ -111,7 +119,7 @@ struct ThreadDetailView: View { SRHTLoadingStateView(message: "Loading thread…") } else if let error = viewModel.error, viewModel.thread == nil { SRHTErrorStateView( - title: "Couldn't Load Thread", + title: "Failed to load thread", message: error, retryAction: { await viewModel.loadThread() } ) |
