chat usage help and minor UI fixes (#291)

* chat usage help and minor UI fixes

* update version, build and binary
This commit is contained in:
Evgeny Poberezkin
2022-02-11 07:42:00 +00:00
committed by GitHub
parent 771bc6a14d
commit 98fc6c6adf
20 changed files with 328 additions and 95 deletions

View File

@@ -100,7 +100,7 @@ final class ChatModel: ObservableObject {
}
}
struct User: Decodable {
struct User: Decodable, NamedChat {
var userId: Int64
var userContactId: Int64
var localDisplayName: ContactName
@@ -115,6 +115,10 @@ struct User: Decodable {
// self.activeUser = activeUser
// }
var displayName: String { get { profile.displayName } }
var fullName: String { get { profile.fullName } }
static let sampleData = User(
userId: 1,
userContactId: 1,