mirror of
https://github.com/ProtonMail/ios-mail.git
synced 2026-06-14 09:54:45 +00:00
ET-3112 Prettier attachment error view
This commit is contained in:
@@ -53,8 +53,10 @@ struct AttachmentView: View {
|
||||
|
||||
private func errorView(error: Error) -> some View {
|
||||
NavigationView {
|
||||
Text(String(describing: error))
|
||||
Text(error.localizedDescription)
|
||||
.multilineTextAlignment(.center)
|
||||
.modifier(ShowDoneNavBarButton())
|
||||
.padding()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user