Skip to content

Commit

Permalink
Merge PR Yubico#848.
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamVe committed Nov 28, 2022
2 parents 446c636 + 987a87f commit ff2bbf0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/oath/state.dart
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,8 @@ class FilteredCredentialsNotifier extends StateNotifier<List<OathPair>> {
.where((pair) => pair.credential.issuer != '_hidden')
.toList()
..sort((a, b) {
String searchKey(OathCredential c) => (c.issuer ?? '') + c.name;
String searchKey(OathCredential c) =>
((c.issuer ?? '') + c.name).toLowerCase();
return searchKey(a.credential).compareTo(searchKey(b.credential));
}),
);
Expand Down

0 comments on commit ff2bbf0

Please sign in to comment.