Skip to content

Commit 87a5e69

Browse files
committed
[Style] #192 - CommentTextField UI 수정
커서 색상, hideKeyboard
1 parent 8411d4e commit 87a5e69

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

CERTI-iOS/Presentation/CertificateDetail/Components/CommentTextField.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ struct CommentTextField: View {
7070
RoundedRectangle(cornerRadius: 18)
7171
.fill(.grayscale100))
7272
.padding(.horizontal, 20)
73+
.blackCursor()
7374

7475
}
7576
}

CERTI-iOS/Presentation/CertificateDetail/View/CertificateCommentView.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,12 @@ struct CertificateCommentView: View {
6565
await viewModel.loadNextComments()
6666
}
6767
}
68+
.onTapGesture {
69+
hideKeyboard()
70+
}
6871

6972
CommentTextField(commentText: $viewModel.commentText, onSendTapped: { }, textFieldState: !viewModel.showFailToBeAcquired || !viewModel.showFailAcquired ? .fieldOn : .fieldLock)
70-
.padding(.top, 20)
73+
.padding(.vertical, 20)
7174
}
7275
}
7376
}

0 commit comments

Comments
 (0)