style: remove redundant version string from up-to-date message

This commit is contained in:
nimbold
2026-06-06 15:31:05 +03:30
parent 99b8f66bcf
commit 6a20250d22
+1 -3
View File
@@ -32,9 +32,7 @@ final class SparkleUpdater: NSObject, ObservableObject, SPUUpdaterDelegate {
func updaterDidNotFindUpdate(_ updater: SPUUpdater, error: Error) {
DispatchQueue.main.async {
self.isChecking = false
let version = updater.hostBundle.object(forInfoDictionaryKey: "CFBundleShortVersionString") as? String ?? ""
let build = updater.hostBundle.object(forInfoDictionaryKey: "CFBundleVersion") as? String ?? ""
self.updateStatus = "You're up to date! (Version \(version) (\(build)))"
self.updateStatus = "You're up to date!"
}
}