fix bug : avoid crash in TreatmentsViewController when iOS 13 is not available
This commit is contained in:
parent
c580416e62
commit
aac17aae0d
|
@ -56,7 +56,7 @@ class TreatmentTableViewCell: UITableViewCell {
|
||||||
self.iconImageView.image = UIImage(systemName: "heart.fill")!
|
self.iconImageView.image = UIImage(systemName: "heart.fill")!
|
||||||
|
|
||||||
case .BgCheck:
|
case .BgCheck:
|
||||||
self.iconImageView.image = UIImage(systemName: "drop.fill")!
|
self.iconImageView.image = UIImage(systemName: "drop.fill") ?? nil
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue