Extended the border of the visibility of the visually impaired prompt and moved the text inwards.
Please let me know if any other change should be made.
This commit is contained in:
parent
91547939f3
commit
c89ff95f0c
|
@ -52,9 +52,10 @@ public struct AttachmentView: View {
|
|||
.foregroundColor(.white)
|
||||
.background(Color.black.opacity(0.4))
|
||||
.placeholder(when: viewModel.caption.isEmpty) {
|
||||
Text(placeholder).foregroundColor(.white)
|
||||
Text(placeholder).foregroundColor(.white).padding(EdgeInsets(top: 0, leading: 8, bottom: 0, trailing: 4))
|
||||
.lineLimit(1)
|
||||
}
|
||||
.padding(6)
|
||||
.padding(EdgeInsets(top: 6, leading: 0, bottom: 10, trailing: 0))
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue