mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-05-12 19:22:23 -04:00
profile edit happens without requiring save button
This commit is contained in:
parent
b6a812af87
commit
030f9d9651
19 changed files with 499 additions and 266 deletions
|
@ -31,6 +31,7 @@ extension MessageExt on proto.Message {
|
|||
}
|
||||
|
||||
extension ContactExt on proto.Contact {
|
||||
String get nameOrNickname => nickname.isNotEmpty ? nickname : profile.name;
|
||||
String get displayName =>
|
||||
nickname.isNotEmpty ? '$nickname (${profile.name})' : profile.name;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue