From ee9f2904aa319231b7047fca3cb069f0c07019cd Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Sun, 12 Apr 2026 23:19:20 -0500 Subject: feat: add multi-account support Implements: https://todo.sr.ht/~ccleberg/hutch/49 Implements: https://todo.sr.ht/~ccleberg/hutch/50 Implements: https://todo.sr.ht/~ccleberg/hutch/51 --- Hutch/Views/Inbox/InboxView.swift | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Hutch/Views/Inbox/InboxView.swift') diff --git a/Hutch/Views/Inbox/InboxView.swift b/Hutch/Views/Inbox/InboxView.swift index f8753d7..c5299ec 100644 --- a/Hutch/Views/Inbox/InboxView.swift +++ b/Hutch/Views/Inbox/InboxView.swift @@ -22,7 +22,11 @@ struct InboxView: View { if let viewModel { vm = viewModel } else { - let newViewModel = InboxViewModel(client: appState.client) + let newViewModel = InboxViewModel( + client: appState.client, + defaults: appState.accountDefaults, + accountID: appState.activeAccountID + ) viewModel = newViewModel vm = newViewModel } -- cgit v1.2.3