Update post form to use sentence auto-capitalisation
This commit is contained in:
committed by
William Casarin
parent
69d11e1af0
commit
fc71b605be
@@ -74,6 +74,7 @@ struct PostView: View {
|
||||
TextEditor(text: $post)
|
||||
.foregroundColor(self.post == POST_PLACEHOLDER ? .gray : .primary)
|
||||
.focused($focus)
|
||||
.textInputAutocapitalization(.sentences)
|
||||
.onTapGesture {
|
||||
handle_post_placeholder()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user