Skip to content

Commit

Permalink
[Auth] Disable search suggestions and sort tags (#2112)
Browse files Browse the repository at this point in the history
## Description

Same as title.

## Tests
  • Loading branch information
prateekmedia authored Jun 12, 2024
2 parents 2f69936 + b273ac3 commit 01c3308
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion auth/lib/store/code_display_store.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class CodeDisplayStore {
if (code.hasError) continue;
tags.addAll(code.display.tags);
}
return tags.toList();
return tags.toList()..sort();
}

Future<void> showDeleteTagDialog(BuildContext context, String tag) async {
Expand Down
2 changes: 2 additions & 0 deletions auth/lib/ui/home_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,8 @@ class _HomePageState extends State<HomePage> {
title: !_showSearchBox
? const Text('Ente Auth')
: TextField(
autocorrect: false,
enableSuggestions: false,
focusNode: searchInputFocusNode,
autofocus: _searchText.isEmpty,
controller: _textController,
Expand Down

0 comments on commit 01c3308

Please sign in to comment.