Fix compiler warnings

This commit is contained in:
Maurice Parker
2021-09-30 09:35:44 -05:00
parent ced4ff239a
commit 5716bc3d19
4 changed files with 7 additions and 7 deletions

View File

@@ -183,7 +183,7 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
DispatchQueue.main.async {
NotificationCenter.default.post(name: .didBeginDownloadingTheme, object: nil)
}
let task = URLSession.shared.downloadTask(with: request) { [weak self] location, response, error in
let task = URLSession.shared.downloadTask(with: request) { location, response, error in
guard
let location = location else { return }