fix bug : avoid crash in TreatmentsViewController when iOS 13 is not available

This commit is contained in:
Johan Degraeve 2022-06-12 23:37:19 +02:00
parent c580416e62
commit aac17aae0d
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ class TreatmentTableViewCell: UITableViewCell {
self.iconImageView.image = UIImage(systemName: "heart.fill")!
case .BgCheck:
self.iconImageView.image = UIImage(systemName: "drop.fill")!
self.iconImageView.image = UIImage(systemName: "drop.fill") ?? nil
}