diff --git a/damus/Views/ConfigView.swift b/damus/Views/ConfigView.swift index 86429ff4..225d48d7 100644 --- a/damus/Views/ConfigView.swift +++ b/damus/Views/ConfigView.swift @@ -200,6 +200,12 @@ struct ConfigView: View { } } } + + let bundleShortVersion = Bundle.main.infoDictionary?["CFBundleShortVersionString"] as! String + let bundleVersion = Bundle.main.infoDictionary?["CFBundleVersion"] as! String + Section(NSLocalizedString("Version", comment: "Section title for displaying the version number of the Damus app.")) { + Text("\(bundleShortVersion) (\(bundleVersion))", comment: "Text indicating which version of the Damus app is running. Should typically not need to be translated.") + } } } .onChange(of: default_zap_amount) { val in