diff --git a/QuickDrop.xcodeproj/project.pbxproj b/QuickDrop.xcodeproj/project.pbxproj index 5a034a4..43246d3 100644 --- a/QuickDrop.xcodeproj/project.pbxproj +++ b/QuickDrop.xcodeproj/project.pbxproj @@ -888,8 +888,8 @@ MTL_FAST_MATH = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; - SHARED_BUILD = 57; - SHARED_VERSION = 1.11; + SHARED_BUILD = 58; + SHARED_VERSION = 1.11.1; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; @@ -950,8 +950,8 @@ MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; SDKROOT = macosx; - SHARED_BUILD = 57; - SHARED_VERSION = 1.11; + SHARED_BUILD = 58; + SHARED_VERSION = 1.11.1; SWIFT_COMPILATION_MODE = wholemodule; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_OPTIMIZATION_LEVEL = "-O"; diff --git a/QuickDrop/Util/ErrorAlertHandler.swift b/QuickDrop/Util/ErrorAlertHandler.swift index 4e8f531..bc1bc34 100644 --- a/QuickDrop/Util/ErrorAlertHandler.swift +++ b/QuickDrop/Util/ErrorAlertHandler.swift @@ -43,7 +43,12 @@ class ErrorAlertHandler { case .ukey2: description = "Error.Crypto".localized() + ": \(ne.localizedDescription)" + fixInstructions case .canceled(reason: let reason): - description = reason.localizedDescription() + if reason == .timedOut { + description = reason.localizedDescription() + fixInstructions + } + else { + description = reason.localizedDescription() + } } } else { description = error.localizedDescription