chore(Clear Cache): do proper error handling

This commit is contained in:
junepark678
2023-11-26 13:50:45 +09:00
committed by nythepegasus
parent c81236957b
commit 5f0015fad0
4 changed files with 42 additions and 30 deletions

View File

@@ -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)
}