Browse Source

Update post form to use sentence auto-capitalisation

profile-edit
Blake Jakopovic 2 years ago
committed by William Casarin
parent
commit
fc71b605be
  1. 1
      damus/Views/PostView.swift

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

Loading…
Cancel
Save