mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-21 19:18:53 +00:00
fix(communities): join community button text instead of share all addresses to join text in membership setup dialog
Closes #14172
This commit is contained in:
parent
9b8401b641
commit
f8bb8e2588
@ -152,13 +152,11 @@ StatusStackModal {
|
||||
|
||||
readonly property StatusButton shareAddressesButton: StatusButton {
|
||||
text: {
|
||||
if (root.accessType === Constants.communityChatOnRequestAccess) {
|
||||
if (d.selectedSharedAddressesCount === d.totalNumOfAddressesForSharing) {
|
||||
return qsTr("Share all addresses to join")
|
||||
}
|
||||
return qsTr("Share %n address(s) to join", "", d.selectedSharedAddressesCount)
|
||||
if (d.selectedSharedAddressesCount === d.totalNumOfAddressesForSharing) {
|
||||
return qsTr("Share all addresses to join")
|
||||
}
|
||||
return qsTr("Join %1").arg(root.communityName)
|
||||
|
||||
return qsTr("Share %n address(s) to join", "", d.selectedSharedAddressesCount)
|
||||
}
|
||||
type: StatusBaseButton.Type.Normal
|
||||
icon.name: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user