mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-13 16:53:29 +01:00
Improves error toast view appearance
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user