Skip to content

Commit

Permalink
Corrected to CFBundleVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
frios committed Jul 19, 2023
1 parent f74e108 commit 12cead3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/WhatsNew/WhatsNewView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public struct WhatsNewView<Content: View>: View {
VStack (alignment: .center) {
Text(String(format:NSLocalizedString("What's New\nin %@", bundle: bundle, comment: "Dialog Title"), appName))
.fontWeight(.bold)
if showVersion, let version = Bundle.main.infoDictionary?["CFBundleVersionString"] as? String {
if showVersion, let version = Bundle.main.infoDictionary?["CFBundleVersion"] as? String {
Text("v\(version)")
.font(.footnote)
.padding(.top)
Expand Down

0 comments on commit 12cead3

Please sign in to comment.