mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-08-22 07:16:03 +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
1f59e814f9
commit
4e49a4be86
@ -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