fix: fix community not being passed correctly to the invite bubble
This commit is contained in:
parent
f3b452188a
commit
23a8de0449
|
@ -297,7 +297,7 @@ Item {
|
|||
Component {
|
||||
id: invitationBubble
|
||||
InvitationBubble {
|
||||
communityId: communityId
|
||||
communityId: root.communityId
|
||||
anchors.right: !appSettings.useCompactMode && isCurrentUser ? parent.right : undefined
|
||||
anchors.rightMargin: Style.current.padding
|
||||
}
|
||||
|
|
|
@ -43,8 +43,8 @@ Item {
|
|||
anchors.topMargin: Style.current.bigPadding
|
||||
//% "Share community"
|
||||
label: qsTrId("share-community")
|
||||
text: "https://join.status.im/u/TODO"
|
||||
textToCopy: text
|
||||
text: `${Constants.communityLinkPrefix}${communityId.substring(0, 4)}...${communityId.substring(communityId.length -2)}`
|
||||
textToCopy: Constants.communityLinkPrefix + communityId
|
||||
}
|
||||
|
||||
Separator {
|
||||
|
|
Loading…
Reference in New Issue