mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-19 21:06:10 +00:00
Add error instructions for timeout
This commit is contained in:
1 parent
86bde438e2
commit
eac2df3d44
2 files changed
+10
-5
No files matched your search
@@ -888,8 +888,8 @@
|
|||||||
MTL_FAST_MATH = YES;
|
MTL_FAST_MATH = YES;
|
||||||
ONLY_ACTIVE_ARCH = YES;
|
ONLY_ACTIVE_ARCH = YES;
|
||||||
SDKROOT = macosx;
|
SDKROOT = macosx;
|
||||||
SHARED_BUILD = 57;
|
SHARED_BUILD = 58;
|
||||||
SHARED_VERSION = 1.11;
|
SHARED_VERSION = 1.11.1;
|
||||||
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
|
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
|
||||||
SWIFT_EMIT_LOC_STRINGS = YES;
|
SWIFT_EMIT_LOC_STRINGS = YES;
|
||||||
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
||||||
@@ -950,8 +950,8 @@
|
|||||||
MTL_ENABLE_DEBUG_INFO = NO;
|
MTL_ENABLE_DEBUG_INFO = NO;
|
||||||
MTL_FAST_MATH = YES;
|
MTL_FAST_MATH = YES;
|
||||||
SDKROOT = macosx;
|
SDKROOT = macosx;
|
||||||
SHARED_BUILD = 57;
|
SHARED_BUILD = 58;
|
||||||
SHARED_VERSION = 1.11;
|
SHARED_VERSION = 1.11.1;
|
||||||
SWIFT_COMPILATION_MODE = wholemodule;
|
SWIFT_COMPILATION_MODE = wholemodule;
|
||||||
SWIFT_EMIT_LOC_STRINGS = YES;
|
SWIFT_EMIT_LOC_STRINGS = YES;
|
||||||
SWIFT_OPTIMIZATION_LEVEL = "-O";
|
SWIFT_OPTIMIZATION_LEVEL = "-O";
|
||||||
|
|||||||
@@ -43,7 +43,12 @@ class ErrorAlertHandler {
|
|||||||
case .ukey2:
|
case .ukey2:
|
||||||
description = "Error.Crypto".localized() + ": \(ne.localizedDescription)" + fixInstructions
|
description = "Error.Crypto".localized() + ": \(ne.localizedDescription)" + fixInstructions
|
||||||
case .canceled(reason: let reason):
|
case .canceled(reason: let reason):
|
||||||
description = reason.localizedDescription()
|
if reason == .timedOut {
|
||||||
|
description = reason.localizedDescription() + fixInstructions
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
description = reason.localizedDescription()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
description = error.localizedDescription
|
description = error.localizedDescription
|
||||||
|
|||||||
Reference in new issue
Block a user