From fc71b605be96831f488baf24d70a2dc4e38c6381 Mon Sep 17 00:00:00 2001 From: Blake Jakopovic Date: Tue, 8 Nov 2022 17:26:53 +0100 Subject: [PATCH] Update post form to use sentence auto-capitalisation --- damus/Views/PostView.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/damus/Views/PostView.swift b/damus/Views/PostView.swift index cad31c3..6586726 100644 --- a/damus/Views/PostView.swift +++ b/damus/Views/PostView.swift @@ -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() }