Fixed in https://github.com/badbundle/vault-app/pull/609 (merged as 784fe08c).
Every snapshot test that renders in a colour scheme now goes through one shared helper, assertSnapshot(of:colorScheme:named:). It sets the scheme on the view's environment and on the host's traits. No preferredColorScheme is left in the tests.
Re-recorded images:
- 127 dark references were re-recorded, and all of them are now dark (average brightness 1–29 out of 255, down from 234–253).
- No light references changed.
Known limitation: buttons in a snapshotted view's own navigation bar still render their light-mode label offscreen. This affects the Cancel button in three backup sheets. It's documented in the helper.