Ver Fonte

remove another superfluous nil-coalescing operator

B. Petersen há 3 anos atrás
pai
commit
ed5e9107dc

+ 1 - 1
deltachat-ios/Controller/ContactDetailViewController.swift

@@ -231,7 +231,7 @@ class ContactDetailViewController: UITableViewController {
             } else {
                 headerCell.setBackupImage(name: viewModel.contact.displayName, color: viewModel.contact.color)
             }
-            headerCell.setVerified(isVerified: (viewModel.contact.isVerified ?? false))
+            headerCell.setVerified(isVerified: viewModel.contact.isVerified)
         }
         headerCell.onAvatarTap = showContactAvatarIfNeeded
     }