Skip to content

Commit 7892ac1

Browse files
committed
fix: use dynamic version in Info page header instead of hardcoded string
1 parent 9e65bbf commit 7892ac1

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Sources/SettingsView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1721,7 +1721,7 @@ struct InfoTab: View {
17211721
// App name with branded colors
17221722
BrandedAppName(fontSize: 24)
17231723

1724-
Text("v1.8.1")
1724+
Text("v\(Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String ?? "Unknown")")
17251725
.font(.system(size: 12, design: .monospaced))
17261726
.foregroundColor(Color(hex: "6B7280"))
17271727

docs/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Thanks to [@karle0wne](https://github.com/karle0wne) for contributing this relea
1111

1212
### Fixed
1313
- **Tailscale Profile Switch Detection** - Routes are now automatically refreshed when switching Tailscale accounts/profiles while the VPN stays on the same `utun` interface. Previously, stale bypass routes from the old profile would persist until manual refresh (#16)
14+
- **Info Page Version Display** - The About/Info page header showed a hardcoded version instead of reading from the bundle. Now uses `CFBundleShortVersionString` like the rest of the app
1415

1516
### Improved
1617
- **Tailscale CLI Performance** - All Tailscale status queries now use `--self --peers=false`, fetching only the local node's data instead of the entire peer list. Significantly reduces JSON payload and parsing time on large tailnets

0 commit comments

Comments
 (0)