- add Build version to the version toolTip

This commit is contained in:
Serhiy Mytrovtsiy
2020-11-05 23:09:07 +01:00
parent d05b47ec0d
commit a3ff3f3658

View File

@@ -269,6 +269,7 @@ class ApplicationSettings: NSView {
let versionNumber = Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString") as! String
statsVersion.stringValue = "\(LocalizedString("Version")) \(versionNumber)"
statsVersion.isSelectable = true
statsVersion.toolTip = Bundle.main.object(forInfoDictionaryKey: "CFBundleVersion") as? String
infoView.addSubview(statsName)
infoView.addSubview(statsVersion)