mirror of
https://github.com/oxen-io/session-desktop.git
synced 2023-12-14 02:12:57 +01:00
Initial pairing modal prep
This commit is contained in:
parent
ff7dbd6562
commit
798eb402cb
1 changed files with 11 additions and 6 deletions
|
@ -30,6 +30,9 @@ export class UserDetailsDialog extends React.Component<Props> {
|
|||
|
||||
public render() {
|
||||
const i18n = this.props.i18n;
|
||||
const isRss =
|
||||
window.ConversationController.get(this.props.pubkey).attributes.type ===
|
||||
'group';
|
||||
|
||||
return (
|
||||
<SessionModal
|
||||
|
@ -43,12 +46,14 @@ export class UserDetailsDialog extends React.Component<Props> {
|
|||
<div className="message">{this.props.pubkey}</div>
|
||||
|
||||
<div className="session-modal__button-group__center">
|
||||
<SessionButton
|
||||
text={i18n('startConversation')}
|
||||
buttonType={SessionButtonType.Default}
|
||||
buttonColor={SessionButtonColor.Primary}
|
||||
onClick={this.onClickStartConversation}
|
||||
/>
|
||||
{!isRss ? (
|
||||
<SessionButton
|
||||
text={i18n('startConversation')}
|
||||
buttonType={SessionButtonType.Default}
|
||||
buttonColor={SessionButtonColor.Primary}
|
||||
onClick={this.onClickStartConversation}
|
||||
/>
|
||||
) : null}
|
||||
</div>
|
||||
</SessionModal>
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue