fix(profile): 프로필 소셜 URL 필드를 신규 명세로 정리한다
This commit is contained in:
@@ -168,7 +168,7 @@ struct ProfileUpdateView: View {
|
||||
}
|
||||
|
||||
@ViewBuilder
|
||||
func InstagramAndYoutubeAccountView() -> some View {
|
||||
func SocialAccountUrlView() -> some View {
|
||||
VStack(spacing: 16.7) {
|
||||
UserTextField(
|
||||
title: I18n.ProfileUpdate.instagram,
|
||||
@@ -185,17 +185,24 @@ struct ProfileUpdateView: View {
|
||||
)
|
||||
|
||||
UserTextField(
|
||||
title: I18n.ProfileUpdate.website,
|
||||
hint: I18n.ProfileUpdate.websiteUrlPlaceholder,
|
||||
title: I18n.ProfileUpdate.kakaoOpenChat,
|
||||
hint: I18n.ProfileUpdate.kakaoOpenChatUrlPlaceholder,
|
||||
isSecure: false,
|
||||
variable: $viewModel.websiteUrl
|
||||
variable: $viewModel.kakaoOpenChatUrl
|
||||
)
|
||||
|
||||
UserTextField(
|
||||
title: I18n.ProfileUpdate.blog,
|
||||
hint: I18n.ProfileUpdate.blogUrlPlaceholder,
|
||||
title: I18n.ProfileUpdate.fancimm,
|
||||
hint: I18n.ProfileUpdate.fancimmUrlPlaceholder,
|
||||
isSecure: false,
|
||||
variable: $viewModel.blogUrl
|
||||
variable: $viewModel.fancimmUrl
|
||||
)
|
||||
|
||||
UserTextField(
|
||||
title: I18n.ProfileUpdate.x,
|
||||
hint: I18n.ProfileUpdate.xUrlPlaceholder,
|
||||
isSecure: false,
|
||||
variable: $viewModel.xUrl
|
||||
)
|
||||
}
|
||||
.padding(.vertical, 20)
|
||||
@@ -331,7 +338,7 @@ struct ProfileUpdateView: View {
|
||||
.padding(.top, 13.3)
|
||||
|
||||
if UserDefaults.string(forKey: .role) == MemberRole.CREATOR.rawValue {
|
||||
InstagramAndYoutubeAccountView()
|
||||
SocialAccountUrlView()
|
||||
.padding(.top, 13.3)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user