Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…od-Me-iOS into feature/Health-Food-Me#205

# Conflicts:
#	HealthFoodMe/HealthFoodMe.xcodeproj/project.pbxproj
  • Loading branch information
L-j-h-c committed Jul 22, 2022
2 parents 50e46e9 + b758701 commit e9b04b1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
2 changes: 1 addition & 1 deletion HealthFoodMe/HealthFoodMe.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -2509,7 +2509,7 @@
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.healthFoodMe.releasedf;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
PROVISIONING_PROFILE_SPECIFIER = HealthFoodMe_Dev;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ class ScrapCVC: UICollectionViewCell, UICollectionViewRegisterable {
return btn
}()

private var lineView: UIView = {
let view = UIView()
view.backgroundColor = .helfmeLineGray
return view
}()

private var storeNameLabel: UILabel = {
let lb = UILabel()
lb.textColor = .black
Expand Down Expand Up @@ -93,8 +99,8 @@ extension ScrapCVC {
}

private func setLayout() {
contentView.addSubviews(storeImageView, scrapButton, storeNameLabel,
locationLabel)
contentView.addSubviews(storeImageView, scrapButton, lineView,
storeNameLabel, locationLabel)

storeImageView.snp.makeConstraints {
$0.top.equalToSuperview()
Expand All @@ -107,6 +113,12 @@ extension ScrapCVC {
$0.height.width.equalTo(28)
}

lineView.snp.makeConstraints {
$0.top.equalTo(storeImageView.snp.bottom)
$0.leading.trailing.equalToSuperview()
$0.height.equalTo(1)
}

storeNameLabel.snp.makeConstraints {
$0.top.equalTo(storeImageView.snp.bottom).offset(5)
$0.leading.trailing.equalToSuperview().inset(10)
Expand Down

0 comments on commit e9b04b1

Please sign in to comment.