mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-06-13 10:42:12 +00:00
use text capitalization
Some checks are pending
Flutter analyze & test / flutter_analyze_and_test (push) Waiting to run
Some checks are pending
Flutter analyze & test / flutter_analyze_and_test (push) Waiting to run
This commit is contained in:
parent
23553b9cb0
commit
726cdaf89f
11 changed files with 17 additions and 10 deletions
14
CHANGELOG.md
14
CHANGELOG.md
|
|
@ -1,18 +1,12 @@
|
|||
# Changelog
|
||||
|
||||
## 0.2.31
|
||||
|
||||
- Fix: Issue with background notifications on Android
|
||||
|
||||
## 0.2.30
|
||||
|
||||
- Fix: Changed minimum threshold for the user discovery to 3
|
||||
- Fix: Multiple UI issues
|
||||
|
||||
## 0.2.28
|
||||
## 0.3.0
|
||||
|
||||
- Improved: Design of some UI components
|
||||
- Improved: Memories viewer shows state for batch operations and has improved performance
|
||||
- Fix: Issue with background notifications on Android
|
||||
- Fix: Changed minimum threshold for the user discovery to 3
|
||||
- Fix: Multiple UI issues
|
||||
- Fix: Auto-detect if FCM token does not work and trigger a reset
|
||||
|
||||
## 0.2.26
|
||||
|
|
|
|||
|
|
@ -118,6 +118,7 @@ class _TextViewState extends State<TextLayer> {
|
|||
child: TextField(
|
||||
controller: textController,
|
||||
autofocus: true,
|
||||
textCapitalization: TextCapitalization.sentences,
|
||||
maxLines: null,
|
||||
minLines: 1,
|
||||
onEditingComplete: onEditionComplete,
|
||||
|
|
|
|||
|
|
@ -248,6 +248,7 @@ Future<void> editTextMessage(BuildContext context, Message message) async {
|
|||
child: TextField(
|
||||
controller: controller,
|
||||
autofocus: true,
|
||||
textCapitalization: TextCapitalization.sentences,
|
||||
keyboardType: TextInputType.multiline,
|
||||
maxLines: 4,
|
||||
minLines: 1,
|
||||
|
|
|
|||
|
|
@ -293,6 +293,7 @@ class _MessageInputState extends State<MessageInput> {
|
|||
TextField(
|
||||
controller: _textFieldController,
|
||||
focusNode: widget.textFieldFocus,
|
||||
textCapitalization: TextCapitalization.sentences,
|
||||
keyboardType: TextInputType.multiline,
|
||||
showCursor:
|
||||
_recordingState != RecordingState.recording,
|
||||
|
|
|
|||
|
|
@ -833,6 +833,7 @@ class _MediaViewerViewState extends State<MediaViewerView> {
|
|||
child: TextField(
|
||||
autofocus: true,
|
||||
controller: textMessageController,
|
||||
textCapitalization: TextCapitalization.sentences,
|
||||
onChanged: (value) async {
|
||||
await twonlyDB.groupsDao.updateGroup(
|
||||
widget.group.groupId,
|
||||
|
|
|
|||
|
|
@ -278,6 +278,7 @@ Future<String?> showNicknameChangeDialog(
|
|||
content: TextField(
|
||||
controller: controller,
|
||||
autofocus: true,
|
||||
textCapitalization: TextCapitalization.words,
|
||||
decoration: InputDecoration(
|
||||
hintText: context.lang.contactNicknameNew,
|
||||
),
|
||||
|
|
@ -319,6 +320,7 @@ Future<String?> showReportDialog(
|
|||
content: TextField(
|
||||
controller: controller,
|
||||
autofocus: true,
|
||||
textCapitalization: TextCapitalization.sentences,
|
||||
decoration: InputDecoration(hintText: context.lang.reportUserReason),
|
||||
),
|
||||
actions: <Widget>[
|
||||
|
|
|
|||
|
|
@ -322,6 +322,7 @@ Future<String?> showGroupNameChangeDialog(
|
|||
content: TextField(
|
||||
controller: controller,
|
||||
autofocus: true,
|
||||
textCapitalization: TextCapitalization.words,
|
||||
decoration: InputDecoration(hintText: context.lang.groupNameInput),
|
||||
),
|
||||
actions: <Widget>[
|
||||
|
|
|
|||
|
|
@ -193,6 +193,7 @@ $debugLogToken
|
|||
const SizedBox(height: 5),
|
||||
TextField(
|
||||
controller: _controller,
|
||||
textCapitalization: TextCapitalization.sentences,
|
||||
decoration: InputDecoration(
|
||||
hintText: context.lang.contactUsYourMessage,
|
||||
border: const OutlineInputBorder(),
|
||||
|
|
|
|||
|
|
@ -86,6 +86,7 @@ class _ContactUsState extends State<SubmitMessage> {
|
|||
const SizedBox(height: 10),
|
||||
TextField(
|
||||
controller: _controller,
|
||||
textCapitalization: TextCapitalization.sentences,
|
||||
decoration: InputDecoration(
|
||||
hintText: context.lang.contactUsYourMessage,
|
||||
border: const OutlineInputBorder(),
|
||||
|
|
|
|||
|
|
@ -176,6 +176,7 @@ class _ProfileViewState extends State<ProfileView> {
|
|||
context.lang.settingsProfileEditDisplayName,
|
||||
context.lang.settingsProfileEditDisplayNameNew,
|
||||
maxLength: 30,
|
||||
textCapitalization: TextCapitalization.words,
|
||||
);
|
||||
if (context.mounted &&
|
||||
displayName != null &&
|
||||
|
|
@ -210,6 +211,7 @@ Future<String?> showDisplayNameChangeDialog(
|
|||
String hintText, {
|
||||
List<TextInputFormatter>? inputFormatters,
|
||||
int? maxLength,
|
||||
TextCapitalization textCapitalization = TextCapitalization.none,
|
||||
}) {
|
||||
final controller = TextEditingController(text: currentName);
|
||||
|
||||
|
|
@ -223,6 +225,7 @@ Future<String?> showDisplayNameChangeDialog(
|
|||
autofocus: true,
|
||||
inputFormatters: inputFormatters,
|
||||
maxLength: maxLength,
|
||||
textCapitalization: textCapitalization,
|
||||
decoration: InputDecoration(
|
||||
hintText: hintText,
|
||||
),
|
||||
|
|
|
|||
|
|
@ -256,6 +256,7 @@ class _UserStudyQuestionnaireViewState
|
|||
|
||||
Widget _buildTextField(String hint, void Function(String) onChanged) {
|
||||
return TextField(
|
||||
textCapitalization: TextCapitalization.sentences,
|
||||
decoration: InputDecoration(
|
||||
hintText: hint,
|
||||
border: const OutlineInputBorder(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue