mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-24 16:51:19 +01:00
Merge pull request #3317 from Wevah/main
This commit is contained in:
commit
f146bdbd71
@ -933,8 +933,8 @@ internal extension AppDelegate {
|
|||||||
let localizedError = NSLocalizedString("This theme cannot be used because the the key—“%@”—is not found in the Info.plist.", comment: "Decoding key missing")
|
let localizedError = NSLocalizedString("This theme cannot be used because the the key—“%@”—is not found in the Info.plist.", comment: "Decoding key missing")
|
||||||
informativeText = NSString.localizedStringWithFormat(localizedError as NSString, codingKey.stringValue) as String
|
informativeText = NSString.localizedStringWithFormat(localizedError as NSString, codingKey.stringValue) as String
|
||||||
case .dataCorrupted(let context):
|
case .dataCorrupted(let context):
|
||||||
guard let error = context.underlyingError as NSError?,
|
guard let underlyingError = context.underlyingError as NSError?,
|
||||||
let debugDescription = error.userInfo["NSDebugDescription"] as? String else {
|
let debugDescription = underlyingError.userInfo["NSDebugDescription"] as? String else {
|
||||||
informativeText = error.localizedDescription
|
informativeText = error.localizedDescription
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user