summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ios/MullvadVPN/SettingsViewController.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/ios/MullvadVPN/SettingsViewController.swift b/ios/MullvadVPN/SettingsViewController.swift
index 4f50245074..777e89e3b8 100644
--- a/ios/MullvadVPN/SettingsViewController.swift
+++ b/ios/MullvadVPN/SettingsViewController.swift
@@ -137,7 +137,7 @@ class SettingsViewController: UITableViewController, AccountViewControllerDelega
let middleSection = StaticTableViewSection()
let versionRow = StaticTableViewRow(reuseIdentifier: CellIdentifier.basicCell.rawValue) { (_, cell) in
let cell = cell as! SettingsCell
- let version = Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String
+ let version = Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString") as? String
cell.titleLabel.text = NSLocalizedString("App version", comment: "")
cell.detailTitleLabel.text = version