parent
24a662676e
commit
f59f0f69c5
|
@ -333,7 +333,8 @@ Item {
|
|||
return {
|
||||
address: Constants.zeroAddress, // Setting as zero address since we don't have the address yet
|
||||
alias: chatContentModule.chatDetails.name, // Do we need the alias for real or name works?
|
||||
identicon: chatContentModule.chatDetails.icon,
|
||||
pubKey: chatContentModule.chatDetails.id,
|
||||
icon: chatContentModule.chatDetails.icon,
|
||||
name: chatContentModule.chatDetails.name,
|
||||
type: RecipientSelector.Type.Contact,
|
||||
ensVerified: true
|
||||
|
@ -367,7 +368,8 @@ Item {
|
|||
return {
|
||||
address: Constants.zeroAddress, // Setting as zero address since we don't have the address yet
|
||||
alias: chatContentModule.chatDetails.name, // Do we need the alias for real or name works?
|
||||
identicon: chatContentModule.chatDetails.icon,
|
||||
pubKey: chatContentModule.chatDetails.id,
|
||||
icon: chatContentModule.chatDetails.icon,
|
||||
name: chatContentModule.chatDetails.name,
|
||||
type: RecipientSelector.Type.Contact
|
||||
}
|
||||
|
|
|
@ -189,8 +189,8 @@ Item {
|
|||
if (!selectedContact || !selAddressSource.selectedSource || !selectedContact.address || (selAddressSource.selectedSource && selAddressSource.selectedSource.value !== RecipientSelector.Type.Contact)) {
|
||||
return
|
||||
}
|
||||
const { address, name, alias, isContact, ensVerified } = selectedContact
|
||||
root.selectedRecipient = { address, name, alias, isContact, ensVerified, type: RecipientSelector.Type.Contact }
|
||||
const { address, name, alias, pubKey, icon, isContact, ensVerified } = selectedContact
|
||||
root.selectedRecipient = { address, name, alias, pubKey, icon, isContact, ensVerified, type: RecipientSelector.Type.Contact }
|
||||
}
|
||||
onIsValidChanged: root.validate()
|
||||
}
|
||||
|
|
|
@ -4,14 +4,16 @@ import QtQuick.Layouts 1.13
|
|||
import QtGraphicalEffects 1.13
|
||||
|
||||
import StatusQ.Controls 0.1 as StatusQ
|
||||
import StatusQ.Components 0.1
|
||||
|
||||
import utils 1.0
|
||||
|
||||
import "../status"
|
||||
import "../panels"
|
||||
import "../controls"
|
||||
import "../popups"
|
||||
import shared.controls.chat 1.0
|
||||
|
||||
import StatusQ.Components 0.1
|
||||
|
||||
Item {
|
||||
id: root
|
||||
|
@ -161,7 +163,6 @@ Item {
|
|||
}
|
||||
PropertyChanges {
|
||||
target: idtToContact
|
||||
image.source: root.toAccount.identicon
|
||||
visible: true
|
||||
}
|
||||
PropertyChanges {
|
||||
|
@ -255,14 +256,15 @@ Item {
|
|||
visible: false
|
||||
source: imgToWallet
|
||||
}
|
||||
StatusSmartIdenticon {
|
||||
UserImage {
|
||||
id: idtToContact
|
||||
visible: false
|
||||
anchors.right: toInvalid.visible ? toInvalid.left : parent.right
|
||||
anchors.rightMargin: toInvalid.visible ? Style.current.halfPadding : 0
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
image.width: 32
|
||||
image.height: 32
|
||||
name: root.toAccount.name
|
||||
pubkey: root.toAccount.pubKey
|
||||
image: root.toAccount.icon
|
||||
}
|
||||
SVGImage {
|
||||
id: toInvalid
|
||||
|
|
Loading…
Reference in New Issue