Skip to content

Commit 29787d8

Browse files
Tarang HiraniTarang Hirani
Tarang Hirani
authored and
Tarang Hirani
committed
fixed minor UI updates
1 parent 3e0dad0 commit 29787d8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CollectionView/Base.lproj/Main.storyboard

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<constraint firstAttribute="width" constant="60" id="VaC-FL-S8P"/>
4848
</constraints>
4949
<fontDescription key="fontDescription" type="system" pointSize="12"/>
50-
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="0.25" colorSpace="calibratedRGB"/>
50+
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="0.40000000000000002" colorSpace="calibratedRGB"/>
5151
<nil key="highlightedColor"/>
5252
</label>
5353
</subviews>

CollectionView/CustomCell.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ class CustomCell: UICollectionViewCell {
5151
//set up gradient for header view
5252
private func createGradient() {
5353
let customGradient = CAGradientLayer()
54-
let colorOne = UIColor(red: 255/255, green: 138/255, blue: 150/255, alpha: 1).cgColor
55-
let colorTwo = UIColor(red: 255/255, green: 0/255, blue: 102/255, alpha: 1).cgColor
54+
let colorOne = UIColor(red: 255/255, green: 0/255, blue: 102/255, alpha: 1).cgColor
55+
let colorTwo = UIColor(red: 255/255, green: 138/255, blue: 150/255, alpha: 1).cgColor
5656
customGradient.colors = [colorOne, colorTwo]
5757
customGradient.locations = [0.0, 0.5, 1.0]
5858
customGradient.startPoint = CGPoint(x: 0.0, y: 1.0)

0 commit comments

Comments
 (0)