mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-22 16:32:01 +03:00
Merge PR #848.
This commit is contained in:
commit
ff2bbf0162
@ -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));
|
||||
}),
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user