commit fc71b605be96831f488baf24d70a2dc4e38c6381
parent 69d11e1af093aeeb63a0ff0fdd6405cfb91e767e
Author: Blake Jakopovic <blake.jakopovic@gmail.com>
Date: Tue, 8 Nov 2022 17:26:53 +0100
Update post form to use sentence auto-capitalisation
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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()
}