Skip to content

Commit

Permalink
[Edit] -
Browse files Browse the repository at this point in the history
  • Loading branch information
Phangg committed Mar 20, 2024
1 parent 0f5b705 commit 54d8aae
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 0 additions & 2 deletions JUDA_iOS/JUDA/View/DrinkInfo/DrinkInfoView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -187,14 +187,12 @@ struct DrinkInfoView: View {
usedTo: usedTo)
case .Record(let recordType):
RecordView(recordType: recordType)
//
case .DrinkDetail(let drink):
DrinkDetailView(drink: drink)
.modifier(TabBarHidden())
case .DrinkDetailWithUsedTo(let drink, let usedTo):
DrinkDetailView(drink: drink, usedTo: usedTo)
.modifier(TabBarHidden())
//
case .PostDetail(let postUserType,
let post,
let usedTo):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ struct ChangeUserNameView: View {
} label: {
Text("변경 완료")
.font(.medium20)
.foregroundStyle(.white)
.frame(maxWidth: .infinity)
.padding(.vertical, 5)

Expand Down
4 changes: 3 additions & 1 deletion JUDA_iOS/JUDA/View/Mypage/SettingView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ struct SettingView: View {
AppServiceInfoView(text: webViewNameList[index], urlString: webViewurlList[index])
}
// 버전 정보
Text("버전 정보 \(String(describing: version)).\(String(describing: build))")
Text("버전 정보 \(version ?? "1.0").\(build ?? "6")")
.font(.regular16)
.foregroundStyle(.gray01)
.padding(.horizontal, 20)
Expand Down Expand Up @@ -188,6 +188,8 @@ struct SettingView: View {
// 메인 화면으로 이동
appViewModel.selectedTabIndex = 0
} else {
isDeletAccount.toggle()
authViewModel.errorMessage = "회원탈퇴에 문제가 발생했어요.\n다시 시도해주세요."
authViewModel.showError = true
}
}
Expand Down

0 comments on commit 54d8aae

Please sign in to comment.