feat(character): 본인인증 하지 않은 유저가 캐릭터 상세보기로 들어갈 때 본인인증 팝업 띄움
This commit is contained in:
@@ -39,7 +39,6 @@ final class CharacterViewModel: ObservableObject {
|
||||
}
|
||||
} receiveValue: { response in
|
||||
let responseData = response.data
|
||||
self.isLoading = false
|
||||
|
||||
do {
|
||||
let jsonDecoder = JSONDecoder()
|
||||
@@ -60,7 +59,9 @@ final class CharacterViewModel: ObservableObject {
|
||||
|
||||
self.isShowPopup = true
|
||||
}
|
||||
self.isLoading = false
|
||||
} catch {
|
||||
self.isLoading = false
|
||||
self.errorMessage = "다시 시도해 주세요.\n계속 같은 문제가 발생할 경우 고객센터로 문의 주시기 바랍니다."
|
||||
self.isShowPopup = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user