fix(profile): 프로필 소셜 URL 필드를 신규 명세로 정리한다

This commit is contained in:
Yu Sung
2026-02-27 13:45:49 +09:00
parent 38fb818f4b
commit 9d6f0c648b
6 changed files with 157 additions and 30 deletions

View File

@@ -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)
}