콘텐츠 댓글 리스트

- 비밀댓글은 닉네임 옆에 '비밀댓글' 마크 추가
This commit is contained in:
Yu Sung
2024-08-30 17:47:44 +09:00
parent d1a90ad599
commit 24f09d068d
7 changed files with 61 additions and 6 deletions

View File

@@ -55,7 +55,7 @@ struct AudioContentCommentListView: View {
HStack(spacing: 8) {
Spacer()
Image(viewModel.isSecret ? "btn_select_checked" : "btn_select_normal")
Image(viewModel.isSecret ? "btn_square_select_checked" : "btn_square_select_normal")
.resizable()
.frame(width: 20, height: 20)
.onTapGesture {
@@ -64,7 +64,7 @@ struct AudioContentCommentListView: View {
Text("비밀댓글")
.font(.custom(Font.medium.rawValue, size: 12))
.foregroundColor(Color.grayee)
.foregroundColor(viewModel.isSecret ? Color.button : Color.grayee)
.onTapGesture {
viewModel.isSecret.toggle()
}