mirror of
https://github.com/ente-io/ente.git
synced 2025-08-08 07:28:26 +00:00
[mob][photos] Only show what comes before '@' in the name of contacts filter
This commit is contained in:
parent
b68fdf3d15
commit
2611cdc480
@ -16,7 +16,7 @@ class ContactsFilter extends HierarchicalSearchFilter {
|
||||
@override
|
||||
String name() {
|
||||
if (user.name == null || user.name!.isEmpty) {
|
||||
return user.email;
|
||||
return user.email.split("@")[0];
|
||||
}
|
||||
return user.name!;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user