Skip to content

Commit

Permalink
fix bug : avoid crash in TreatmentsViewController when iOS 13 is not …
Browse files Browse the repository at this point in the history
…available
  • Loading branch information
JohanDegraeve committed Jun 12, 2022
1 parent c580416 commit aac17aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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

}

Expand Down

0 comments on commit aac17aa

Please sign in to comment.