profile edit happens without requiring save button

This commit is contained in:
Christien Rioux 2024-08-01 14:30:06 -05:00
parent b6a812af87
commit 030f9d9651
19 changed files with 499 additions and 266 deletions

View file

@ -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;
}