From cb8b17cff595f37519ccb0d4840961353ec68e83 Mon Sep 17 00:00:00 2001 From: zyphs21 Date: Mon, 31 Aug 2020 09:16:06 +0800 Subject: [PATCH] Hide orderBgView and orderLabel when singleSelectedMode is true --- TLPhotoPicker/Classes/TLPhotoCollectionViewCell.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/TLPhotoPicker/Classes/TLPhotoCollectionViewCell.swift b/TLPhotoPicker/Classes/TLPhotoCollectionViewCell.swift index 60c9e0c2..8de0fc0f 100644 --- a/TLPhotoPicker/Classes/TLPhotoCollectionViewCell.swift +++ b/TLPhotoPicker/Classes/TLPhotoCollectionViewCell.swift @@ -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 } }