프로필 수정 페이지 - sns, 소개, 태그 수정 UI 크리에이터만 보이도록 수정
This commit is contained in:
		| @@ -323,15 +323,22 @@ struct ProfileUpdateView: View { | ||||
|                                     NicknameAndGenderView() | ||||
|                                         .padding(.top, 13.3) | ||||
|                                      | ||||
|                                     if UserDefaults.string(forKey: .role) == MemberRole.CREATOR.rawValue { | ||||
|                                         InstagramAndYoutubeAccountView() | ||||
|                                             .padding(.top, 13.3) | ||||
|                                     } | ||||
|                                      | ||||
|                                     if UserDefaults.string(forKey: .role) == MemberRole.CREATOR.rawValue { | ||||
|                                         TagSelectView() | ||||
|                                             .padding(.top, 33.3) | ||||
|                                     } | ||||
|                                      | ||||
|                                     if UserDefaults.string(forKey: .role) == MemberRole.CREATOR.rawValue { | ||||
|                                         ContentInputView() | ||||
|                                             .padding(.top, 33.3) | ||||
|                                     } | ||||
|                                      | ||||
|                                     if UserDefaults.string(forKey: .role) == MemberRole.CREATOR.rawValue { | ||||
|                                         Text("저장하기") | ||||
|                                             .font(.custom(Font.bold.rawValue, size: 18.3)) | ||||
|                                             .foregroundColor(Color.white) | ||||
| @@ -356,7 +363,34 @@ struct ProfileUpdateView: View { | ||||
|                                     } | ||||
|                                 } | ||||
|                             } | ||||
|                         } | ||||
|                         .padding(.top, 13.3) | ||||
|                          | ||||
|                         if UserDefaults.string(forKey: .role) != MemberRole.CREATOR.rawValue { | ||||
|                             Spacer() | ||||
|                              | ||||
|                             Text("저장하기") | ||||
|                                 .font(.custom(Font.bold.rawValue, size: 18.3)) | ||||
|                                 .foregroundColor(Color.white) | ||||
|                                 .frame(width: screenSize().width - 26.7, height: 50) | ||||
|                                 .background(Color(hex: "9970ff")) | ||||
|                                 .cornerRadius(10) | ||||
|                                 .padding(.vertical, 13.7) | ||||
|                                 .padding(.horizontal, 13.3) | ||||
|                                 .frame(width: screenSize().width) | ||||
|                                 .background(Color(hex: "222222")) | ||||
|                                 .cornerRadius(16.7, corners: [.topLeft, .topRight]) | ||||
|                                 .padding(.top, 13.3) | ||||
|                                 .onTapGesture { | ||||
|                                     viewModel.updateProfile() | ||||
|                                 } | ||||
|                              | ||||
|                             if proxy.safeAreaInsets.bottom > 0 { | ||||
|                                 Rectangle() | ||||
|                                     .foregroundColor(Color(hex: "222222")) | ||||
|                                     .frame(width: proxy.size.width, height: 15.3) | ||||
|                             } | ||||
|                         } | ||||
|                     } | ||||
|                      | ||||
|                     if isShowPhotoPicker { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Yu Sung
					Yu Sung