From 5f6d545eb3455a9e4da5a3cb4460811e3a48d939 Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Sun, 12 Apr 2026 00:34:54 -0500 Subject: improve home attention flows and cross-linking --- Hutch/Views/Inbox/InboxView.swift | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Hutch/Views/Inbox/InboxView.swift') diff --git a/Hutch/Views/Inbox/InboxView.swift b/Hutch/Views/Inbox/InboxView.swift index aa3765c..2447a6e 100644 --- a/Hutch/Views/Inbox/InboxView.swift +++ b/Hutch/Views/Inbox/InboxView.swift @@ -42,6 +42,17 @@ struct InboxView: View { @Bindable var vm = viewModel List { + Section { + Picker("Filter", selection: $vm.filter) { + ForEach(InboxThreadFilter.allCases, id: \.self) { filter in + Text(filter.rawValue).tag(filter) + } + } + .pickerStyle(.segmented) + .listRowBackground(Color.clear) + .listRowInsets(EdgeInsets()) + } + ForEach(viewModel.filteredThreads) { thread in Button { selectThread(thread) -- cgit v1.2.3