@@ -190,7 +190,7 @@ extension MyPageViewController: UITableViewDataSource {
190
190
/// "푸시 알림 설정" 셀만 별도로 처리합니다.
191
191
func tableView( _ tableView: UITableView , cellForRowAt indexPath: IndexPath ) -> UITableViewCell {
192
192
// "푸시 알림 설정" 셀
193
- if indexPath. row == MyPageLabels . NotificationSetting. rawValue {
193
+ if indexPath. row == MyPageLabelsIndex . NotificationSetting. rawValue {
194
194
guard let cell = tableView. dequeueReusableCell (
195
195
withIdentifier: NotificationSettingTableViewCell . identifier,
196
196
for: indexPath
@@ -243,7 +243,7 @@ extension MyPageViewController: UITableViewDelegate {
243
243
244
244
switch indexPath. row {
245
245
// "푸시 알림 설정"
246
- case MyPageLabels . NotificationSetting. rawValue:
246
+ case MyPageLabelsIndex . NotificationSetting. rawValue:
247
247
NotificationManager . shared. checkNotificationSetting { setting in
248
248
switch setting. authorizationStatus {
249
249
case . denied:
@@ -285,13 +285,17 @@ extension MyPageViewController: UITableViewDelegate {
285
285
}
286
286
}
287
287
288
+ case MyPageLabelsIndex . MyInfo. rawValue:
289
+ let myInfoViewController = MyInfoViewController ( )
290
+ navigationController? . pushViewController ( myInfoViewController, animated: true )
291
+
288
292
// "내가 쓴 리뷰"
289
- case MyPageLabels . MyReview. rawValue:
293
+ case MyPageLabelsIndex . MyReview. rawValue:
290
294
let myReviewViewController = MyReviewViewController ( )
291
295
navigationController? . pushViewController ( myReviewViewController, animated: true )
292
296
293
297
// "문의하기"
294
- case MyPageLabels . Inquiry. rawValue:
298
+ case MyPageLabelsIndex . Inquiry. rawValue:
295
299
TalkApi . shared. chatChannel ( channelPublicId: ESTextLiteral . KakaoChannel. id) { [ weak self] error in
296
300
if error != nil {
297
301
// 채널 연동 실패 시, 웹 브라우저로 연결
@@ -310,24 +314,24 @@ extension MyPageViewController: UITableViewDelegate {
310
314
}
311
315
312
316
// "서비스 이용약관"
313
- case MyPageLabels . TermsOfUse. rawValue:
317
+ case MyPageLabelsIndex . TermsOfUse. rawValue:
314
318
let provisionViewController = ProvisionViewController ( agreementType: . termsOfService)
315
319
provisionViewController. navigationTitle = ESTextLiteral . MyPage. termsOfUse
316
320
navigationController? . pushViewController ( provisionViewController, animated: true )
317
321
318
322
// "개인정보 이용약관"
319
- case MyPageLabels . PrivacyTermsOfUse. rawValue:
323
+ case MyPageLabelsIndex . PrivacyTermsOfUse. rawValue:
320
324
let provisionViewController = ProvisionViewController ( agreementType: . privacyPolicy)
321
325
provisionViewController. navigationTitle = ESTextLiteral . MyPage. privacyTermsOfUse
322
326
navigationController? . pushViewController ( provisionViewController, animated: true )
323
327
324
328
// "만든사람들"
325
- case MyPageLabels . Creator. rawValue:
329
+ case MyPageLabelsIndex . Creator. rawValue:
326
330
let creatorViewController = CreatorViewController ( )
327
331
navigationController? . pushViewController ( creatorViewController, animated: true )
328
332
329
333
// "로그아웃"
330
- case MyPageLabels . Logout. rawValue:
334
+ case MyPageLabelsIndex . Logout. rawValue:
331
335
showLogoutAlert ( )
332
336
333
337
default :
0 commit comments