Skip to content

Upstream - #118

Merged
sameerasw merged 7 commits into
developfrom
main
Sep 30, 2025
Merged

Upstream#118
sameerasw merged 7 commits into
developfrom
main

Conversation

@sameerasw

Copy link
Copy Markdown
Owner

This pull request introduces improvements to network adapter selection and validation, ensures QR code refreshes correctly after network/server changes, and enhances the UI/UX for media and device status display. It also updates localization for Italian and Traditional Chinese. The most important changes are grouped below:

Network Adapter Selection & Validation

  • Added logic to validate and persist the selected network adapter, automatically falling back to auto-selection if the saved adapter is unavailable or lacks a valid IP. This prevents broken connections when adapters change. (AppState.swift) [1] [2] [3]
  • Triggered network adapter revalidation whenever available adapters change, ensuring the app always uses a valid adapter. (WebSocketServer.swift)

QR Code Refresh & Server Restart

  • Delayed QR code refresh by 0.5 seconds after server start/restart to ensure the new IP/port is available before updating the QR code. (SaveAndRestartButton.swift, AppContentView.swift) [1] [2]
  • Automatically regenerated QR code when network adapter, port, or device name changes, keeping connection info up-to-date. (ScannerView.swift)
  • Updated settings to immediately reflect the new IP address and trigger QR refresh when the network adapter changes. (SettingsView.swift) [1] [2]

Media & Device Status UI Improvements

  • Improved the music player toggle help text to reflect the current state (show/hide). (DeviceStatusView.swift)
  • Automatically collapses the music card when no valid media info is present, both on startup and when media changes. (DeviceStatusView.swift)
  • Slightly reduced the time display font size for better visual balance. (TimeView.swift)

Localization Updates

  • Updated Italian and Traditional Chinese translations for improved clarity and accuracy. (it.json, zh-Hant.json) [1] [2]

@sameerasw sameerasw self-assigned this Sep 30, 2025
@sameerasw
sameerasw merged commit f052262 into develop Sep 30, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant