From d554b969e10cf331a9c92bcafc611b8966c7c09b Mon Sep 17 00:00:00 2001 From: Nathan Mattes Date: Wed, 28 Jun 2023 09:55:55 +0200 Subject: [PATCH] Fix build (again) (IOS-14) --- Mastodon/Coordinator/SceneCoordinator.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mastodon/Coordinator/SceneCoordinator.swift b/Mastodon/Coordinator/SceneCoordinator.swift index 6f006f1ca..b1e31a440 100644 --- a/Mastodon/Coordinator/SceneCoordinator.swift +++ b/Mastodon/Coordinator/SceneCoordinator.swift @@ -583,7 +583,7 @@ extension SceneCoordinator: SettingsCoordinatorDelegate { let cancelAction = UIAlertAction(title: L10n.Common.Controls.Actions.cancel, style: .cancel) let signOutAction = UIAlertAction(title: L10n.Common.Alerts.SignOut.confirm, style: .destructive) { [weak self] _ in - guard let self = self, let authContext else { return } + guard let self, let authContext = self.authContext else { return } self.appContext.notificationService.clearNotificationCountForActiveUser()