fix: Type string interpolations in ContentView for Swift 5.7 compatibility #57

Merged
gronod merged 1 commits from hotfix/macos12-string-interpolation into develop 2026-10-01 12:57:07 +01:00
Owner

Summary

Fixes Swift 5.7 (Xcode 14) compiler errors in ContentView.swift:

  • Unwrap selectedTab with a fallback value in .navigationTitle(...) to satisfy LocalizedStringKey.appendInterpolation.
  • Ensure values interpolated in Text views within ProcessDetailSheet (threadID and socket endpoints) are explicitly typed String / Int rather than Any / Any?.
### Summary Fixes Swift 5.7 (Xcode 14) compiler errors in `ContentView.swift`: - Unwrap `selectedTab` with a fallback value in `.navigationTitle(...)` to satisfy `LocalizedStringKey.appendInterpolation`. - Ensure values interpolated in `Text` views within `ProcessDetailSheet` (`threadID` and socket endpoints) are explicitly typed `String` / `Int` rather than `Any` / `Any?`.
gronod added 1 commit 2026-10-01 12:57:02 +01:00
gronod merged commit 05669f1b41 into develop 2026-10-01 12:57:07 +01:00
gronod deleted branch hotfix/macos12-string-interpolation 2026-10-01 12:57:08 +01:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: gronod/MacMonitor#57