Remove borders around TextEditors for testing

This commit is contained in:
Angelo Stavrow 2020-07-28 13:37:29 -04:00
parent 85e99c720c
commit 1c027c98dc
No known key found for this signature in database
GPG Key ID: 1A49C7064E060EEE

View File

@ -7,7 +7,6 @@ struct PostEditor: View {
var body: some View {
VStack {
TextEditor(text: $post.title)
.border(Color.blue, width: 1)
.font(.title)
.frame(height: 100)
.onChange(of: post.title) { _ in
@ -16,7 +15,6 @@ struct PostEditor: View {
}
}
TextEditor(text: $post.body)
.border(Color.red, width: 1)
.font(.body)
.onChange(of: post.body) { _ in
if post.status == .published {