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