mirror of
https://github.com/immich-app/immich.git
synced 2025-12-22 09:15:34 +03:00
fix: replace first and last name with single field (#4915)
This commit is contained in:
@@ -68,11 +68,8 @@ class Album {
|
||||
}
|
||||
|
||||
final name = <String>[];
|
||||
if (owner.value?.firstName != null) {
|
||||
name.add(owner.value!.firstName);
|
||||
}
|
||||
if (owner.value?.lastName != null) {
|
||||
name.add(owner.value!.lastName);
|
||||
if (owner.value?.name != null) {
|
||||
name.add(owner.value!.name);
|
||||
}
|
||||
|
||||
return name.join(' ');
|
||||
|
||||
Reference in New Issue
Block a user