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 {
|
Component {
|
||||||
id: invitationBubble
|
id: invitationBubble
|
||||||
InvitationBubble {
|
InvitationBubble {
|
||||||
communityId: communityId
|
communityId: root.communityId
|
||||||
anchors.right: !appSettings.useCompactMode && isCurrentUser ? parent.right : undefined
|
anchors.right: !appSettings.useCompactMode && isCurrentUser ? parent.right : undefined
|
||||||
anchors.rightMargin: Style.current.padding
|
anchors.rightMargin: Style.current.padding
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,8 +43,8 @@ Item {
|
||||||
anchors.topMargin: Style.current.bigPadding
|
anchors.topMargin: Style.current.bigPadding
|
||||||
//% "Share community"
|
//% "Share community"
|
||||||
label: qsTrId("share-community")
|
label: qsTrId("share-community")
|
||||||
text: "https://join.status.im/u/TODO"
|
text: `${Constants.communityLinkPrefix}${communityId.substring(0, 4)}...${communityId.substring(communityId.length -2)}`
|
||||||
textToCopy: text
|
textToCopy: Constants.communityLinkPrefix + communityId
|
||||||
}
|
}
|
||||||
|
|
||||||
Separator {
|
Separator {
|
||||||
|
|
Loading…
Reference in New Issue