Skip to content

Commit

Permalink
Merge pull request #281 from zyphs21/master
Browse files Browse the repository at this point in the history
Hide orderBgView and orderLabel when singleSelectedMode is true
  • Loading branch information
tilltue authored Sep 20, 2020
2 parents 3dc1409 + cb8b17c commit 4f082d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions TLPhotoPicker/Classes/TLPhotoCollectionViewCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ open class TLPhotoCollectionViewCell: UICollectionViewCell {
self.selectedView?.layer.borderColor = self.configure.selectedColor.cgColor
self.orderBgView?.backgroundColor = self.configure.selectedColor
self.videoIconImageView?.image = self.configure.videoIcon
self.orderBgView?.isHidden = self.configure.singleSelectedMode
self.orderLabel?.isHidden = self.configure.singleSelectedMode
}
}

Expand Down

0 comments on commit 4f082d4

Please sign in to comment.