Request sentence capitalization in the mobile composer (#9881)

The shared mobile message composer now requests sentence capitalization
from the system keyboard. This lets keyboards offer an uppercase first
letter when starting a message or a new sentence, according to the
user's keyboard settings.

Validated with the repository's mobile analysis and test suite using
Flutter 3.47.9.

Signed-off-by: Terp <5856f6900e8e0a4e0ea1f4f8d2ee33e4753d2119bc122f94ecafc660b46c0511@buzz.block.builderlab.xyz>
Co-authored-by: Terp <5856f6900e8e0a4e0ea1f4f8d2ee33e4753d2119bc122f94ecafc660b46c0511@buzz.block.builderlab.xyz>
This commit is contained in:
klopez4212
2026-11-23 15:36:54 +00:00
committed by GitHub
parent ebbc94cbd4
commit 2b44717eb3

View File

@@ -418,6 +418,7 @@ class _ComposeBarLayout extends HookWidget {
readOnly: readOnly,
inputFormatters: [_ComposerChipEditingFormatter(controller)],
keyboardType: TextInputType.multiline,
textCapitalization: TextCapitalization.sentences,
textInputAction: TextInputAction.newline,
contextMenuBuilder: contextMenuBuilder,
// Flutter's Cupertino magnifier rebuilds its overlay on every