Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Commit 9851a45

Browse files
joeroccarnystrom
authored andcommitted
Adds light gray text color on selection of LoadMoreCell (#711)
* added light gray text color on selection * change label alpha instead of color
1 parent fba2364 commit 9851a45

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Classes/Section Controllers/LoadMore/LoadMoreCell.swift

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,14 @@ final class LoadMoreCell: UICollectionViewCell {
4141
set { }
4242
}
4343

44+
override var isSelected: Bool {
45+
didSet {
46+
if isSelected {
47+
label.alpha = 0.5
48+
} else {
49+
label.alpha = 1
50+
}
51+
}
52+
}
53+
4454
}

0 commit comments

Comments
 (0)