From ac3970003f37052d057c08f1e62272d425ff9cfb Mon Sep 17 00:00:00 2001 From: mrbesen Date: Wed, 8 Jun 2022 09:59:22 +0200 Subject: [PATCH] display chattype --- src/components/peerProfile.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/components/peerProfile.ts b/src/components/peerProfile.ts index 3c399484..62b12f1d 100644 --- a/src/components/peerProfile.ts +++ b/src/components/peerProfile.ts @@ -53,6 +53,7 @@ export default class PeerProfile { private location: Row; private link: Row; private peerid: Row; + private chattype: Row; private cleaned: boolean; private setMoreDetailsTimeout: number; @@ -160,6 +161,12 @@ export default class PeerProfile { } }); + this.chattype = new Row({ + title: ' ', + icon: 'user', + subtitle: 'Chattype' + }); + this.location = new Row({ title: ' ', subtitleLangKey: 'ChatLocation', @@ -170,6 +177,7 @@ export default class PeerProfile { this.phone.container, this.username.container, this.peerid.container, + this.chattype.container, this.location.container, this.bio.container, this.link.container @@ -429,6 +437,8 @@ export default class PeerProfile { this.setMoreDetailsTimeout = window.setTimeout(() => this.setMoreDetails(true), 60e3); setText(peerId + '', this.peerid); + let chattype = peerFull._ || 'unkonwn'; + setText(chattype, this.chattype); }); }