mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-12 03:21:09 +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
@@ -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
|
||||
|
||||
Reference in new issue
Block a user