Skip to content

Commit e61a1c9

Browse files
committed
chore: #403 오프보딩용 기존 여정 복구
1 parent 6322f34 commit e61a1c9

3 files changed

Lines changed: 19 additions & 8 deletions

File tree

ByeBoo-iOS/ByeBoo-iOS/Data/Enum/JourneyType+Data.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ extension JourneyType {
99
var key: String {
1010
switch self {
1111
case .recording:
12-
"RECORDING"
12+
"FACE_EMOTION"
13+
case .active:
14+
"PROCESS_EMOTION"
1315
case .reunion:
14-
"REUNION"
16+
"PREPARE_REUNION"
1517
}
1618
}
1719

ByeBoo-iOS/ByeBoo-iOS/Domain/Entity/Enum/JourneyType.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import Foundation
1111

1212
enum JourneyType: CaseIterable {
1313
case recording
14+
case active
1415
case reunion
1516
}
1617

@@ -19,6 +20,8 @@ extension JourneyType {
1920
switch self {
2021
case .recording:
2122
"이별 극복"
23+
case .active:
24+
"감정 정리"
2225
case .reunion:
2326
"재회 준비"
2427
}

ByeBoo-iOS/ByeBoo-iOS/Presentation/Enum/JourneyType+Presentation.swift

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ extension JourneyType {
1212
switch self {
1313
case .recording:
1414
"이별 극복"
15+
case .active:
16+
"감정 정리"
1517
case .reunion:
1618
"재회 준비"
1719
}
@@ -21,21 +23,25 @@ extension JourneyType {
2123
return "\(title) 여정"
2224
}
2325

24-
var frontImage: UIImage {
26+
var frontImage: UIImage? {
2527
switch self {
2628
case .recording:
27-
.overcomingFront
29+
.overcomingFront
2830
case .reunion:
29-
.reunionFront
31+
.reunionFront
32+
case .active:
33+
nil
3034
}
3135
}
3236

33-
var backImage: UIImage {
37+
var backImage: UIImage? {
3438
switch self {
3539
case .recording:
36-
.overcomingBack
40+
.overcomingBack
3741
case .reunion:
38-
.reunionBack
42+
.reunionBack
43+
case .active:
44+
nil
3945
}
4046
}
4147

0 commit comments

Comments
 (0)