display chattype
This commit is contained in:
parent
cd1ba2a923
commit
ac3970003f
|
@ -53,6 +53,7 @@ export default class PeerProfile {
|
||||||
private location: Row;
|
private location: Row;
|
||||||
private link: Row;
|
private link: Row;
|
||||||
private peerid: Row;
|
private peerid: Row;
|
||||||
|
private chattype: Row;
|
||||||
|
|
||||||
private cleaned: boolean;
|
private cleaned: boolean;
|
||||||
private setMoreDetailsTimeout: number;
|
private setMoreDetailsTimeout: number;
|
||||||
|
@ -160,6 +161,12 @@ export default class PeerProfile {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
this.chattype = new Row({
|
||||||
|
title: ' ',
|
||||||
|
icon: 'user',
|
||||||
|
subtitle: 'Chattype'
|
||||||
|
});
|
||||||
|
|
||||||
this.location = new Row({
|
this.location = new Row({
|
||||||
title: ' ',
|
title: ' ',
|
||||||
subtitleLangKey: 'ChatLocation',
|
subtitleLangKey: 'ChatLocation',
|
||||||
|
@ -170,6 +177,7 @@ export default class PeerProfile {
|
||||||
this.phone.container,
|
this.phone.container,
|
||||||
this.username.container,
|
this.username.container,
|
||||||
this.peerid.container,
|
this.peerid.container,
|
||||||
|
this.chattype.container,
|
||||||
this.location.container,
|
this.location.container,
|
||||||
this.bio.container,
|
this.bio.container,
|
||||||
this.link.container
|
this.link.container
|
||||||
|
@ -429,6 +437,8 @@ export default class PeerProfile {
|
||||||
this.setMoreDetailsTimeout = window.setTimeout(() => this.setMoreDetails(true), 60e3);
|
this.setMoreDetailsTimeout = window.setTimeout(() => this.setMoreDetails(true), 60e3);
|
||||||
|
|
||||||
setText(peerId + '', this.peerid);
|
setText(peerId + '', this.peerid);
|
||||||
|
let chattype = peerFull._ || 'unkonwn';
|
||||||
|
setText(chattype, this.chattype);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue