diff --git a/Delta/Base.lproj/Settings.storyboard b/Delta/Base.lproj/Settings.storyboard index ebcf37a..57227c5 100644 --- a/Delta/Base.lproj/Settings.storyboard +++ b/Delta/Base.lproj/Settings.storyboard @@ -18,6 +18,13 @@ + @@ -231,6 +238,7 @@ + diff --git a/Delta/Settings/SettingsViewController.swift b/Delta/Settings/SettingsViewController.swift index 38efe76..94476f6 100644 --- a/Delta/Settings/SettingsViewController.swift +++ b/Delta/Settings/SettingsViewController.swift @@ -39,6 +39,7 @@ class SettingsViewController: UITableViewController { @IBOutlet private var controllerOpacityLabel: UILabel! @IBOutlet private var controllerOpacitySlider: UISlider! + @IBOutlet private var versionLabel: UILabel! private var selectionFeedbackGenerator: UISelectionFeedbackGenerator? @@ -58,6 +59,15 @@ class SettingsViewController: UITableViewController self.controllerOpacitySlider.value = Float(Settings.translucentControllerSkinOpacity) self.updateControllerOpacityLabel() + + if let version = Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString") as? String + { + self.versionLabel.text = NSLocalizedString(String(format: "Delta %@", version), comment: "Delta Version") + } + else + { + self.versionLabel.text = NSLocalizedString("Delta", comment: "") + } } override func viewWillAppear(_ animated: Bool) diff --git a/Delta/Supporting Files/Info.plist b/Delta/Supporting Files/Info.plist index 6c68b74..72cc859 100644 --- a/Delta/Supporting Files/Info.plist +++ b/Delta/Supporting Files/Info.plist @@ -86,11 +86,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.0 + 0.6.0 CFBundleSignature ???? CFBundleVersion - 5 + 6 LSRequiresIPhoneOS NSAppTransportSecurity