콘텐츠 댓글 수정 오류
- 댓글 수정 모드 상태에서 다른 댓글 쓰기 혹은 삭제 등의 액션을 해서 댓글 수의 변화가 있을 때 내 글이 아닌 다른 사람의 글이 수정 모드로 보이는 버그 수정
This commit is contained in:
		@@ -78,11 +78,11 @@ struct AudioContentCommentListView: View {
 | 
			
		||||
                    
 | 
			
		||||
                    HStack(spacing: 8) {
 | 
			
		||||
                        KFImage(URL(string: UserDefaults.string(forKey: .profileImage)))
 | 
			
		||||
                        .cancelOnDisappear(true)
 | 
			
		||||
                        .downsampling(size: CGSize(width: 33.3, height: 33.3))
 | 
			
		||||
                        .resizable()
 | 
			
		||||
                        .frame(width: 33.3, height: 33.3)
 | 
			
		||||
                        .clipShape(Circle())
 | 
			
		||||
                            .cancelOnDisappear(true)
 | 
			
		||||
                            .downsampling(size: CGSize(width: 33.3, height: 33.3))
 | 
			
		||||
                            .resizable()
 | 
			
		||||
                            .frame(width: 33.3, height: 33.3)
 | 
			
		||||
                            .clipShape(Circle())
 | 
			
		||||
                        
 | 
			
		||||
                        HStack(spacing: 0) {
 | 
			
		||||
                            TextField("댓글을 입력해 보세요.", text: $viewModel.comment)
 | 
			
		||||
@@ -122,11 +122,11 @@ struct AudioContentCommentListView: View {
 | 
			
		||||
                        .padding(.bottom, 13.3)
 | 
			
		||||
                        .padding(.horizontal, 13.3)
 | 
			
		||||
                    
 | 
			
		||||
                    ScrollView(.vertical, showsIndicators: false) {
 | 
			
		||||
                        LazyVStack(spacing: 13.3) {
 | 
			
		||||
                            ForEach(0..<viewModel.commentList.count, id: \.self) { index in
 | 
			
		||||
                                let comment = viewModel.commentList[index]
 | 
			
		||||
                                VStack {
 | 
			
		||||
                    if !viewModel.isRegisterComment {
 | 
			
		||||
                        ScrollView(.vertical, showsIndicators: false) {
 | 
			
		||||
                            LazyVStack(spacing: 13.3) {
 | 
			
		||||
                                ForEach(0..<viewModel.commentList.count, id: \.self) { index in
 | 
			
		||||
                                    let comment = viewModel.commentList[index]
 | 
			
		||||
                                    AudioContentCommentItemView(
 | 
			
		||||
                                        contentCreatorId: creatorId,
 | 
			
		||||
                                        audioContentId: audioContentId,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user