mirror of
https://github.com/mastodon/mastodon-ios.git
synced 2025-02-02 18:36:44 +01:00
Adding inset to the text of the user due to the prompt having the inset but not the user text.
This commit is contained in:
parent
c89ff95f0c
commit
93eeface69
@ -49,7 +49,7 @@ public struct AttachmentView: View {
|
||||
TextField("", text: $viewModel.caption)
|
||||
.lineLimit(1)
|
||||
.textFieldStyle(.plain)
|
||||
.foregroundColor(.white)
|
||||
.foregroundColor(.white).padding(EdgeInsets(top: 0, leading: 8, bottom: 0, trailing: 4))
|
||||
.background(Color.black.opacity(0.4))
|
||||
.placeholder(when: viewModel.caption.isEmpty) {
|
||||
Text(placeholder).foregroundColor(.white).padding(EdgeInsets(top: 0, leading: 8, bottom: 0, trailing: 4))
|
||||
|
Loading…
x
Reference in New Issue
Block a user