Use `guard` (IOS-192)

This commit is contained in:
Nathan Mattes 2024-01-11 15:30:35 +01:00
parent b8ba69b930
commit 64dc97ab9b
1 changed files with 1 additions and 1 deletions

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
}