Skip to content

Commit 253f8b8

Browse files
fix/#177 :: 사진 촬영 때 카메라 하이라이트
- 사진 촬영 때 카메라 링 하이라이트
1 parent 6b6d7f4 commit 253f8b8

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

PhotoGether/PresentationLayer/PhotoRoomFeature/PhotoRoomFeature/Source/View/PhotoRoomBottomView.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ final class PhotoRoomBottomView: UIView {
6868
func stopCameraButtonTimer() {
6969
cameraButton.stopTimer()
7070
}
71+
72+
func highlightCameraButton() {
73+
cameraButton.layer.borderColor = PTGColor.primaryGreen.color.cgColor
74+
}
7175
}
7276

7377
extension PhotoRoomBottomView {

PhotoGether/PresentationLayer/PhotoRoomFeature/PhotoRoomFeature/Source/ViewController/PhotoRoomViewController.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ public final class PhotoRoomViewController: BaseViewController, ViewControllerCo
120120
switch $0 {
121121
case .timer(let count):
122122
self.photoRoomBottomView.setCameraButtonTimer(count)
123+
self.photoRoomBottomView.highlightCameraButton()
123124
case .timerCompleted(let images, let userInfo):
124125
self.photoRoomBottomView.stopCameraButtonTimer()
125126

0 commit comments

Comments
 (0)