mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-11-01 07:53:26 +00:00
fix: enable autocorrect in the message composer
Leave autocorrection on for chat text so iOS can fix typos while typing. Nickname and geohash fields stay disabled.
This commit is contained in:
parent
9b84b36122
commit
6bdbfcd98b
@ -76,7 +76,8 @@ struct ContentComposerView: View {
|
||||
.bitchatFont(size: 15)
|
||||
.foregroundColor(palette.primary)
|
||||
.focused(isTextFieldFocused)
|
||||
.autocorrectionDisabled(true)
|
||||
// Autocorrect left enabled for chat typing (#969). Nicknames
|
||||
// and geohashes keep `.autocorrectionDisabled(true)` elsewhere.
|
||||
#if os(iOS)
|
||||
.textInputAutocapitalization(.sentences)
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user