From 53973bb4d96a89018c92ba6cb8d46d4f28c57ec7 Mon Sep 17 00:00:00 2001 From: Nathan Mattes Date: Wed, 31 Jan 2024 22:49:56 +0100 Subject: [PATCH] Revert "Use `guard` (IOS-192)" This reverts commit 64dc97ab9bb50041146777248885a67dc1fcf73b. --- Mastodon/Scene/Profile/ProfileViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mastodon/Scene/Profile/ProfileViewController.swift b/Mastodon/Scene/Profile/ProfileViewController.swift index baa846bce..fdca816ec 100644 --- a/Mastodon/Scene/Profile/ProfileViewController.swift +++ b/Mastodon/Scene/Profile/ProfileViewController.swift @@ -221,7 +221,7 @@ extension ProfileViewController { } } - guard self.viewModel.account.suspended == false else { + if let suspended = self.viewModel.account.suspended, suspended == true { return }