display chattype

This commit is contained in:
mrbesen 2022-06-08 09:59:22 +02:00
parent cd1ba2a923
commit ac3970003f
Signed by: MrBesen
GPG Key ID: 596B2350DCD67504
1 changed files with 10 additions and 0 deletions

View File

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