From 3d46b015e1d1cb5397e2452e9d38a63555632bf0 Mon Sep 17 00:00:00 2001 From: Prateek Sunal Date: Wed, 12 Jun 2024 16:44:22 +0530 Subject: [PATCH 1/2] fix(auth): sort tags --- auth/lib/store/code_display_store.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth/lib/store/code_display_store.dart b/auth/lib/store/code_display_store.dart index 74972f5a22..d6afd1b494 100644 --- a/auth/lib/store/code_display_store.dart +++ b/auth/lib/store/code_display_store.dart @@ -32,7 +32,7 @@ class CodeDisplayStore { if (code.hasError) continue; tags.addAll(code.display.tags); } - return tags.toList(); + return tags.toList()..sort(); } Future showDeleteTagDialog(BuildContext context, String tag) async { From b273ac3cf03c666d5191b979366bfa4b25317663 Mon Sep 17 00:00:00 2001 From: Prateek Sunal Date: Wed, 12 Jun 2024 16:45:20 +0530 Subject: [PATCH 2/2] fix(auth): disable autocorrect and it's suggestions --- auth/lib/ui/home_page.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/auth/lib/ui/home_page.dart b/auth/lib/ui/home_page.dart index 4110a5f88e..81fd7ed586 100644 --- a/auth/lib/ui/home_page.dart +++ b/auth/lib/ui/home_page.dart @@ -238,6 +238,8 @@ class _HomePageState extends State { title: !_showSearchBox ? const Text('Ente Auth') : TextField( + autocorrect: false, + enableSuggestions: false, focusNode: searchInputFocusNode, autofocus: _searchText.isEmpty, controller: _textController,