fix(@dekstop/chat): increase the hard limit from 10 to 20 members in a group chat

Fixes #4728
This commit is contained in:
Sale Djenic 2022-02-28 16:20:17 +01:00 committed by saledjenic
parent d0e0df1e3b
commit ca20e77534
1 changed files with 2 additions and 3 deletions

View File

@ -22,7 +22,7 @@ ModalPopup {
property var store
property bool selectChatMembers: true
property int memberCount: 1
readonly property int maxMembers: 10
readonly property int maxMembers: 20
property string channelNameValidationError: ""
onOpened: {
@ -89,8 +89,7 @@ ModalPopup {
StyledText {
anchors.top: lblNewGroup.bottom
//% "%1 / 10 members"
text: qsTrId("%1-/-10-members").arg(memberCount)
text: qsTr("%1/%2 members").arg(popup.memberCount).arg(popup.maxMembers)
color: Style.current.secondaryText
font.pixelSize: 15
}