커뮤니티 댓글, 팬토크, 콘텐츠 댓글
- 프로필 이미지 터치시 차단, 신고가 가능한 유저 프로필 표시
This commit is contained in:
		@@ -17,6 +17,7 @@ struct UserProfileFanTalkView: View {
 | 
			
		||||
    let errorPopup: (String) -> Void
 | 
			
		||||
    let reportPopup: (Int) -> Void
 | 
			
		||||
    let deletePopup: (Int) -> Void
 | 
			
		||||
    let profilePopup: (Int) -> Void
 | 
			
		||||
    
 | 
			
		||||
    @Binding var isLoading: Bool
 | 
			
		||||
    @State private var cheersContent: String = ""
 | 
			
		||||
@@ -26,13 +27,13 @@ struct UserProfileFanTalkView: View {
 | 
			
		||||
            HStack(spacing: 0) {
 | 
			
		||||
                Text("팬 Talk")
 | 
			
		||||
                    .font(.custom(Font.bold.rawValue, size: 16.7))
 | 
			
		||||
                    .foregroundColor(Color(hex: "eeeeee"))
 | 
			
		||||
                    .foregroundColor(Color.grayee)
 | 
			
		||||
                
 | 
			
		||||
                Spacer()
 | 
			
		||||
                
 | 
			
		||||
                Text("전체보기")
 | 
			
		||||
                    .font(.custom(Font.light.rawValue, size: 11.3))
 | 
			
		||||
                    .foregroundColor(Color(hex: "bbbbbb"))
 | 
			
		||||
                    .foregroundColor(Color.graybb)
 | 
			
		||||
                    .onTapGesture {
 | 
			
		||||
                        AppState.shared.setAppStep(step: .userProfileFanTalkAll(userId: userId))
 | 
			
		||||
                    }
 | 
			
		||||
@@ -43,17 +44,17 @@ struct UserProfileFanTalkView: View {
 | 
			
		||||
                HStack(spacing: 6.7) {
 | 
			
		||||
                    Text("응원")
 | 
			
		||||
                        .font(.custom(Font.medium.rawValue, size: 14.7))
 | 
			
		||||
                        .foregroundColor(Color(hex: "eeeeee"))
 | 
			
		||||
                        .foregroundColor(Color.grayee)
 | 
			
		||||
                    
 | 
			
		||||
                    Text("\(cheers.totalCount)")
 | 
			
		||||
                        .font(.custom(Font.medium.rawValue, size: 12))
 | 
			
		||||
                        .foregroundColor(Color(hex: "777777"))
 | 
			
		||||
                        .foregroundColor(Color.gray77)
 | 
			
		||||
                }
 | 
			
		||||
                .padding(.top, 20)
 | 
			
		||||
                
 | 
			
		||||
                Rectangle()
 | 
			
		||||
                    .frame(height: 1)
 | 
			
		||||
                    .foregroundColor(Color(hex: "909090").opacity(0.5))
 | 
			
		||||
                    .foregroundColor(Color.gray90.opacity(0.5))
 | 
			
		||||
                    .padding(.top, 13.3)
 | 
			
		||||
                
 | 
			
		||||
                HStack(spacing: 0) {
 | 
			
		||||
@@ -61,8 +62,8 @@ struct UserProfileFanTalkView: View {
 | 
			
		||||
                        .autocapitalization(.none)
 | 
			
		||||
                        .disableAutocorrection(true)
 | 
			
		||||
                        .font(.custom(Font.medium.rawValue, size: 13.3))
 | 
			
		||||
                        .foregroundColor(Color(hex: "eeeeee"))
 | 
			
		||||
                        .accentColor(Color(hex: "3bb9f1"))
 | 
			
		||||
                        .foregroundColor(Color.grayee)
 | 
			
		||||
                        .accentColor(Color.button)
 | 
			
		||||
                        .keyboardType(.default)
 | 
			
		||||
                        .padding(.horizontal, 13.3)
 | 
			
		||||
                    
 | 
			
		||||
@@ -78,18 +79,18 @@ struct UserProfileFanTalkView: View {
 | 
			
		||||
                            cheersContent = ""
 | 
			
		||||
                        }
 | 
			
		||||
                }
 | 
			
		||||
                .background(Color(hex: "232323"))
 | 
			
		||||
                .background(Color.gray23)
 | 
			
		||||
                .cornerRadius(10)
 | 
			
		||||
                .overlay(
 | 
			
		||||
                    RoundedRectangle(cornerRadius: 10)
 | 
			
		||||
                        .strokeBorder(lineWidth: 1)
 | 
			
		||||
                        .foregroundColor(Color(hex: "9970ff"))
 | 
			
		||||
                        .foregroundColor(Color.button)
 | 
			
		||||
                )
 | 
			
		||||
                .padding(.top, 13.3)
 | 
			
		||||
                
 | 
			
		||||
                Rectangle()
 | 
			
		||||
                    .frame(height: 1)
 | 
			
		||||
                    .foregroundColor(Color(hex: "909090").opacity(0.5))
 | 
			
		||||
                    .foregroundColor(Color.gray90.opacity(0.5))
 | 
			
		||||
                    .padding(.top, 13.3)
 | 
			
		||||
                
 | 
			
		||||
                VStack(spacing: 20) {
 | 
			
		||||
@@ -110,6 +111,9 @@ struct UserProfileFanTalkView: View {
 | 
			
		||||
                                },
 | 
			
		||||
                                onClickDelete: { cheersId in
 | 
			
		||||
                                    deletePopup(cheersId)
 | 
			
		||||
                                },
 | 
			
		||||
                                onClickProfile: {
 | 
			
		||||
                                    profilePopup($0)
 | 
			
		||||
                                }
 | 
			
		||||
                            )
 | 
			
		||||
                            .onTapGesture {
 | 
			
		||||
@@ -119,7 +123,7 @@ struct UserProfileFanTalkView: View {
 | 
			
		||||
                    } else {
 | 
			
		||||
                        Text("응원이 없습니다.\n\n처음으로 응원을 해보세요!")
 | 
			
		||||
                            .font(.custom(Font.light.rawValue, size: 13.3))
 | 
			
		||||
                            .foregroundColor(Color(hex: "bbbbbb"))
 | 
			
		||||
                            .foregroundColor(Color.graybb)
 | 
			
		||||
                            .multilineTextAlignment(.center)
 | 
			
		||||
                            .fixedSize(horizontal: false, vertical: true)
 | 
			
		||||
                            .padding(.vertical, 60)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user