Use static cursor color (#1253)

This commit is contained in:
Nathan Mattes 2024-03-19 11:59:44 +01:00 committed by GitHub
parent 13cc2bdbec
commit 6da37e2156
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -58,6 +58,7 @@ public struct AttachmentView: View {
.lineLimit(1) .lineLimit(1)
.textFieldStyle(.plain) .textFieldStyle(.plain)
.font(.footnote) .font(.footnote)
.tint(Color(UIColor.white.withAlphaComponent(0.8)))
.foregroundColor(Color(UIColor.white.withAlphaComponent(0.8))) .foregroundColor(Color(UIColor.white.withAlphaComponent(0.8)))
.padding(EdgeInsets(top: 0, leading: 8, bottom: 0, trailing: 4)) .padding(EdgeInsets(top: 0, leading: 8, bottom: 0, trailing: 4))
.placeholder(when: viewModel.caption.isEmpty) { .placeholder(when: viewModel.caption.isEmpty) {