Improves error toast view appearance

This commit is contained in:
Riley Testut
2020-03-19 15:02:35 -07:00
parent a2acbcd5b5
commit 63c55b41ec
2 changed files with 5 additions and 5 deletions

View File

@@ -490,7 +490,7 @@ private extension MyAppsViewController
}
let error = failures.first?.value as NSError?
let detailText = error?.localizedFailureReason ?? error?.localizedDescription
let detailText = error?.localizedFailure ?? error?.localizedFailureReason ?? error?.localizedDescription
toastView = ToastView(text: localizedText, detailText: detailText)
toastView.preferredDuration = 4.0