OATH: Don't show creds with issuer: "_hidden".

This commit is contained in:
Dain Nilsson 2022-08-12 13:23:37 +02:00
parent 1a2b43a87d
commit 6be8fb0e9a
No known key found for this signature in database
GPG Key ID: F04367096FBA95E8

View File

@ -169,6 +169,7 @@ class FilteredCredentialsNotifier extends StateNotifier<List<OathPair>> {
"${pair.credential.issuer ?? ''}:${pair.credential.name}"
.toLowerCase()
.contains(query.toLowerCase()))
.where((pair) => pair.credential.issuer != '_hidden')
.toList()
..sort((a, b) {
String searchKey(OathCredential c) => (c.issuer ?? '') + c.name;