mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
[Fix]: Throw error only if the popup is not displayed
This commit is contained in:
@@ -85,7 +85,7 @@ final class RemoveAppExtensionsOperation: ResultOperation<Void>
|
||||
presentingViewController.present(alertController, animated: true){
|
||||
|
||||
// if for any reason the view wasn't presented, then just signal that as error
|
||||
if presentingViewController.presentedViewController == nil {
|
||||
if presentingViewController.presentedViewController == nil && !alertController.isViewLoaded {
|
||||
let errMsg = "RemoveAppExtensionsOperation: unable to present dialog, view context not available." +
|
||||
"\nDid you move to different screen or background after starting the operation?"
|
||||
self.finish(.failure(
|
||||
|
||||
Reference in New Issue
Block a user