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

View File

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