Make sure that the error is displayed after the progress window is ended by doing an DispatchQueue.main.async on the error display.

This commit is contained in:
Maurice Parker 2020-10-25 15:17:02 -05:00
parent 807b2d3109
commit c75dc8b54d
1 changed files with 3 additions and 1 deletions

View File

@ -87,7 +87,9 @@ class AddFeedController: AddFeedWindowControllerDelegate {
case AccountError.createErrorNotFound:
self.showNoFeedsErrorMessage()
default:
NSApplication.shared.presentError(error)
DispatchQueue.main.async {
NSApplication.shared.presentError(error)
}
}
}