From 5716bc3d1987bbfeeaa46643a6003f83ff8470b6 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Thu, 30 Sep 2021 09:35:44 -0500 Subject: [PATCH] Fix compiler warnings --- iOS/Base.lproj/LaunchScreenPad.storyboard | 4 ++-- iOS/Base.lproj/LaunchScreenPhone.storyboard | 4 ++-- iOS/Base.lproj/Main.storyboard | 4 ++-- iOS/SceneDelegate.swift | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/iOS/Base.lproj/LaunchScreenPad.storyboard b/iOS/Base.lproj/LaunchScreenPad.storyboard index 876bded5e..06c951431 100644 --- a/iOS/Base.lproj/LaunchScreenPad.storyboard +++ b/iOS/Base.lproj/LaunchScreenPad.storyboard @@ -70,7 +70,7 @@ - + @@ -114,6 +114,6 @@ - + diff --git a/iOS/Base.lproj/LaunchScreenPhone.storyboard b/iOS/Base.lproj/LaunchScreenPhone.storyboard index 08b810d7d..61a86ee99 100644 --- a/iOS/Base.lproj/LaunchScreenPhone.storyboard +++ b/iOS/Base.lproj/LaunchScreenPhone.storyboard @@ -70,7 +70,7 @@ - + @@ -114,6 +114,6 @@ - + diff --git a/iOS/Base.lproj/Main.storyboard b/iOS/Base.lproj/Main.storyboard index 82dc391e2..44386a8f9 100644 --- a/iOS/Base.lproj/Main.storyboard +++ b/iOS/Base.lproj/Main.storyboard @@ -199,7 +199,7 @@ - + @@ -402,7 +402,7 @@ - + diff --git a/iOS/SceneDelegate.swift b/iOS/SceneDelegate.swift index 6812578ac..3da542328 100644 --- a/iOS/SceneDelegate.swift +++ b/iOS/SceneDelegate.swift @@ -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 }