diff options
| author | Christian Cleberg <[email protected]> | 2026-07-15 21:42:38 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2026-07-15 21:42:38 -0500 |
| commit | ccec322f8eac4d14638f5abdae7dae7abc95eb7e (patch) | |
| tree | 7eb92e38d5dc88ba839b94c294ae9be0ea21a6d0 /Hutch/Views/Lookup/LookupView.swift | |
| parent | b9ec80716ea015de5b6b31395fdc5ff03191398c (diff) | |
| download | hutch-ccec322f8eac4d14638f5abdae7dae7abc95eb7e.tar.gz hutch-ccec322f8eac4d14638f5abdae7dae7abc95eb7e.tar.bz2 hutch-ccec322f8eac4d14638f5abdae7dae7abc95eb7e.zip | |
refactor: share the email body diff splitter
segmentMessageBody and its helpers were private to ThreadViewModel, reachable
from tests only through a segmentMessageBodyForTesting shim. Patchset review
needs the same splitting, because sr.ht's Patch type carries no diff — the diff
only exists inside the email body — so this has to be shared rather than
duplicated.
Moved to InboxThreadUtilities. The shim is gone; the existing test calls the
real function directly now.
Also adds the Patchset model layer that the coming views build on.
Diffstat (limited to 'Hutch/Views/Lookup/LookupView.swift')
0 files changed, 0 insertions, 0 deletions
