mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
chore(Clear Cache): do proper error handling
This commit is contained in:
committed by
nythepegasus
parent
c81236957b
commit
5f0015fad0
@@ -318,6 +318,11 @@ private extension SettingsViewController
|
||||
}
|
||||
})
|
||||
|
||||
if let popoverController = alertController.popoverPresentationController {
|
||||
popoverController.sourceView = self.view
|
||||
popoverController.sourceRect = CGRect(x: self.view.bounds.midX, y: self.view.bounds.midY, width: 0, height: 0)
|
||||
}
|
||||
|
||||
self.present(alertController, animated: true)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user