Skip to content

fix(views): deduplicate chip generation groups in Hardware Support#19

Merged
p-linnane merged 1 commit into
mainfrom
fix/chip-support-duplicate-generation-id
Mar 13, 2026
Merged

fix(views): deduplicate chip generation groups in Hardware Support#19
p-linnane merged 1 commit into
mainfrom
fix/chip-support-duplicate-generation-id

Conversation

@p-linnane
Copy link
Copy Markdown
Member

Summary

  • The ForEach in ChipSupportView used \.generation as its identity key, but A-series chips (e.g. A18 Pro) and Virtual Mac both have generation: 0, causing SwiftUI to render the first group twice
  • Switched to \.label which is unique per generation group

The ForEach used \.generation as its identity key, but A-series chips
and Virtual Mac both resolve to generation 0, causing SwiftUI to render
the first group twice. Switch to \.label which is unique per group.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@p-linnane p-linnane merged commit b22dd91 into main Mar 13, 2026
6 checks passed
@p-linnane p-linnane deleted the fix/chip-support-duplicate-generation-id branch March 13, 2026 04:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant