Skip to content

Commit

Permalink
fix_done_and_cancle_btn_colors_in_ios15
Browse files Browse the repository at this point in the history
  • Loading branch information
Mhd Hasan Al Janadi authored and tilltue committed Nov 25, 2021
1 parent 2d187f8 commit 2d57b0b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion TLPhotoPicker/Classes/TLPhotosPickerViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -408,8 +408,9 @@ extension TLPhotosPickerViewController {
self.titleLabel.text = self.configure.customLocalizedTitle["Camera Roll"]
self.subTitleLabel.text = self.configure.tapHereToChange
self.cancelButton.title = self.configure.cancelTitle
self.cancelButton.setTitleTextAttributes([NSAttributedString.Key.font: UIFont.boldSystemFont(ofSize: UIFont.labelFontSize),NSAttributedString.Key.foregroundColor:UIColor.blue], for: .normal)
self.doneButton.title = self.configure.doneTitle
self.doneButton.setTitleTextAttributes([NSAttributedString.Key.font: UIFont.boldSystemFont(ofSize: UIFont.labelFontSize)], for: .normal)
self.doneButton.setTitleTextAttributes([NSAttributedString.Key.font: UIFont.boldSystemFont(ofSize: UIFont.labelFontSize),NSAttributedString.Key.foregroundColor:UIColor.blue], for: .normal)
self.emptyView.isHidden = true
self.emptyImageView.image = self.configure.emptyImage
self.emptyMessageLabel.text = self.configure.emptyMessage
Expand Down

0 comments on commit 2d57b0b

Please sign in to comment.