2
2
mirror of https://github.com/mastodon/mastodon-ios synced 2025-04-11 22:58:02 +02:00

Use guard (IOS-192)

This commit is contained in:
Nathan Mattes 2024-01-11 15:30:35 +01:00
parent b8ba69b930
commit 64dc97ab9b

View File

@ -221,7 +221,7 @@ extension ProfileViewController {
}
}
if let suspended = self.viewModel.account.suspended, suspended == true {
guard self.viewModel.account.suspended == false else {
return
}