Update post form to use sentence auto-capitalisation

This commit is contained in:
Blake Jakopovic authored and William Casarin committed 2022-11-08 12:23:06 -08:00
1 parent 69d11e1af0
commit fc71b605be
1 file changed
+1
+1
View File
@@ -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()
}