mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Fixed issue where error message dialogs were only flashed on the screen.
This commit is contained in:
@@ -17,6 +17,7 @@ protocol AddContainerViewControllerChild: UIViewController {
|
||||
protocol AddContainerViewControllerChildDelegate: UIViewController {
|
||||
func readyToAdd(state: Bool)
|
||||
func processingDidBegin()
|
||||
func processingDidCancel()
|
||||
func processingDidEnd()
|
||||
}
|
||||
|
||||
@@ -76,11 +77,14 @@ extension AddContainerViewController: AddContainerViewControllerChildDelegate {
|
||||
activityIndicatorView.startAnimating()
|
||||
}
|
||||
|
||||
func processingDidEnd() {
|
||||
func processingDidCancel() {
|
||||
addButton.isEnabled = true
|
||||
typeSelectorSegmentedControl.isEnabled = true
|
||||
activityIndicatorView.isHidden = true
|
||||
activityIndicatorView.stopAnimating()
|
||||
}
|
||||
|
||||
func processingDidEnd() {
|
||||
dismiss(animated: true)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user