mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-22 04:21:44 +00:00
parent
525a8e19bf
commit
3227d5afb4
@ -76,7 +76,7 @@ Item {
|
|||||||
}
|
}
|
||||||
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
communityIntroDialog.open()
|
Global.openPopup(communityIntroDialog);
|
||||||
}
|
}
|
||||||
|
|
||||||
Connections {
|
Connections {
|
||||||
@ -88,23 +88,24 @@ Item {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Component {
|
||||||
CommunityIntroDialog {
|
|
||||||
id: communityIntroDialog
|
id: communityIntroDialog
|
||||||
|
CommunityIntroDialog {
|
||||||
|
|
||||||
isInvitationPending: joinCommunityButton.invitationPending
|
isInvitationPending: joinCommunityButton.invitationPending
|
||||||
name: communityData.name
|
name: communityData.name
|
||||||
introMessage: communityData.introMessage
|
introMessage: communityData.introMessage
|
||||||
imageSrc: communityData.image
|
imageSrc: communityData.image
|
||||||
accessType: communityData.access
|
accessType: communityData.access
|
||||||
|
|
||||||
onJoined: {
|
onJoined: {
|
||||||
joinCommunityButton.loading = true
|
joinCommunityButton.loading = true
|
||||||
root.store.requestToJoinCommunity(communityData.id, root.store.userProfileInst.name)
|
root.store.requestToJoinCommunity(communityData.id, root.store.userProfileInst.name)
|
||||||
}
|
}
|
||||||
onCancelMembershipRequest: {
|
onCancelMembershipRequest: {
|
||||||
root.store.cancelPendingRequest(communityData.id)
|
root.store.cancelPendingRequest(communityData.id)
|
||||||
joinCommunityButton.invitationPending = root.store.isCommunityRequestPending(communityData.id)
|
joinCommunityButton.invitationPending = root.store.isCommunityRequestPending(communityData.id)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user