Skip to content

Commit

Permalink
IOS-7615: Safely access IBOutlets in updateDetailAttributedTextWithLink
Browse files Browse the repository at this point in the history
(cherry picked from commit a5eba73)
  • Loading branch information
JPedroAmorim authored and gmagpayo committed Sep 5, 2023
1 parent 35b7713 commit f870046
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
extension CustomModalAlertViewController {
@objc func updateDetailAttributedTextWithLink(_ detail: NSAttributedString) {
detailLabel.isHidden = true
detailTextView.isHidden = false
detailTextView.attributedText = detail
detailLabel?.isHidden = true
detailTextView?.isHidden = false
detailTextView?.attributedText = detail
}
}

0 comments on commit f870046

Please sign in to comment.