From 9c09adea647a8a87278767234427a138aac94fd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A0=95=EC=B1=84=EC=9D=80?= Date: Sun, 1 Oct 2023 23:22:52 +0900 Subject: [PATCH] =?UTF-8?q?Fix=20[#242]=20=EC=B6=94=EC=B2=9C=EC=B9=9C?= =?UTF-8?q?=EA=B5=AC=20=EC=B9=9C=EA=B5=AC=20=EC=B6=94=EA=B0=80=20=EB=B2=84?= =?UTF-8?q?=ED=8A=BC=20=EC=83=89=EC=83=81=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Recommending/Main/Cells/FriendTableViewCell.swift | 3 ++- .../Recommending/Search/Cells/FriendSearchTableViewCell.swift | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/YELLO-iOS/YELLO-iOS/Presentation/Recommending/Main/Cells/FriendTableViewCell.swift b/YELLO-iOS/YELLO-iOS/Presentation/Recommending/Main/Cells/FriendTableViewCell.swift index 58f5cc4b..58fd8f8f 100644 --- a/YELLO-iOS/YELLO-iOS/Presentation/Recommending/Main/Cells/FriendTableViewCell.swift +++ b/YELLO-iOS/YELLO-iOS/Presentation/Recommending/Main/Cells/FriendTableViewCell.swift @@ -27,6 +27,7 @@ final class FriendTableViewCell: UITableViewCell { let schoolLabel = UILabel() lazy var addButton = UIButton() let separatorLine = UIView() + var isTapped: Bool = false weak var handleAddFriendButton: HandleAddFriendButton? @@ -94,7 +95,7 @@ extension FriendTableViewCell { addButton.do { $0.setImage(ImageLiterals.Recommending.icAddFriendButton, for: .normal) - $0.tintColor = .yellow + $0.tintColor = .yelloMain500 $0.addTarget(self, action: #selector(addButtonTapped), for: .touchUpInside) $0.isHidden = false } diff --git a/YELLO-iOS/YELLO-iOS/Presentation/Recommending/Search/Cells/FriendSearchTableViewCell.swift b/YELLO-iOS/YELLO-iOS/Presentation/Recommending/Search/Cells/FriendSearchTableViewCell.swift index ed0d7ba4..14fafcc9 100644 --- a/YELLO-iOS/YELLO-iOS/Presentation/Recommending/Search/Cells/FriendSearchTableViewCell.swift +++ b/YELLO-iOS/YELLO-iOS/Presentation/Recommending/Search/Cells/FriendSearchTableViewCell.swift @@ -34,6 +34,7 @@ final class FriendSearchTableViewCell: UITableViewCell { updateAddButtonImage() } } + weak var handleSearchAddFriendButton: HandleSearchAddFriendButton? // MARK: - Function @@ -98,7 +99,7 @@ extension FriendSearchTableViewCell { addButton.do { $0.setImage(ImageLiterals.Recommending.icAddFriendButton, for: .normal) - $0.tintColor = .yellow + $0.tintColor = .yelloMain500 $0.addTarget(self, action: #selector(addButtonTapped), for: .touchUpInside) }