Skip to content

Commit

Permalink
Fix korean input
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonavichus committed Jun 1, 2024
1 parent 5cb2429 commit b7b5551
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 30 deletions.
10 changes: 0 additions & 10 deletions lib/app/modules/tasks/widgets/tasks_action.dart
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,6 @@ class _TasksActionState extends State<TasksAction> {
labelText: 'name'.tr,
type: TextInputType.text,
icon: const Icon(Iconsax.edit_2),
onChanged: (text) {
setState(() {
todoController.titleCategoryEdit.text = text;
});
},
validator: (value) {
if (value == null || value.isEmpty) {
return 'validateName'.tr;
Expand All @@ -188,11 +183,6 @@ class _TasksActionState extends State<TasksAction> {
type: TextInputType.multiline,
icon: const Icon(Iconsax.note_text),
maxLine: null,
onChanged: (text) {
setState(() {
todoController.descCategoryEdit.text = text;
});
},
),
Card(
elevation: 4,
Expand Down
16 changes: 0 additions & 16 deletions lib/app/modules/todos/widgets/todos_action.dart
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,6 @@ class _TodosActionState extends State<TodosAction> {
elevation: 4,
margin: const EdgeInsets.symmetric(
horizontal: 10, vertical: 5),
onChanged: (value) => setState(() {}),
controller: todoController.textTodoConroller,
focusNode: focusNode,
labelText: 'selectCategory'.tr,
Expand Down Expand Up @@ -320,11 +319,6 @@ class _TodosActionState extends State<TodosAction> {
labelText: 'name'.tr,
type: TextInputType.multiline,
icon: const Icon(Iconsax.edit_2),
onChanged: (text) {
setState(() {
todoController.titleTodoEdit.text = text;
});
},
validator: (value) {
if (value == null || value.isEmpty) {
return 'validateName'.tr;
Expand All @@ -341,20 +335,10 @@ class _TodosActionState extends State<TodosAction> {
type: TextInputType.multiline,
icon: const Icon(Iconsax.note_text),
maxLine: null,
onChanged: (text) {
setState(() {
todoController.descTodoEdit.text = text;
});
},
),
MyTextForm(
elevation: 4,
margin: const EdgeInsets.symmetric(horizontal: 10, vertical: 5),
onChanged: (text) {
setState(() {
todoController.timeTodoEdit.text = text;
});
},
readOnly: true,
controller: todoController.timeTodoEdit,
labelText: 'timeComplete'.tr,
Expand Down
1 change: 0 additions & 1 deletion lib/app/modules/todos/widgets/todos_transfer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ class _TodosTransferState extends State<TodosTransfer> {
elevation: 4,
margin:
const EdgeInsets.symmetric(horizontal: 10, vertical: 5),
onChanged: (value) => setState(() {}),
controller: todoController.transferTodoConroller,
focusNode: focusNode,
labelText: 'selectCategory'.tr,
Expand Down
2 changes: 1 addition & 1 deletion lib/translation/en_us.dart
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class EnUs {
'notFound': 'Nothing found',
'settings': 'Settings',
'backup': 'Backup of user data',
'restore': 'Restore User data',
'restore': 'Restore user data',
'deleteAllBD': 'Delete all data',
'deleteAllBDTitle': 'Deleting data',
'deleteAllBDQuery': 'Are you sure you want to delete all the data?',
Expand Down
4 changes: 2 additions & 2 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ packages:
dependency: transitive
description:
name: archive
sha256: "6bd38d335f0954f5fad9c79e614604fbf03a0e5b975923dd001b6ea965ef5b4b"
sha256: cb6a278ef2dbb298455e1a713bda08524a175630ec643a242c399c932a0a1f7d
url: "https://pub.dev"
source: hosted
version: "3.6.0"
version: "3.6.1"
args:
dependency: transitive
description:
Expand Down

0 comments on commit b7b5551

Please sign in to comment.