Update post form to use sentence auto-capitalisation

This commit is contained in:
Blake Jakopovic
2022-11-08 17:26:53 +01:00
committed by William Casarin
parent 69d11e1af0
commit fc71b605be

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()
}