diff --git a/qml/components/chatInformationPage/ChatInformationTabItemMembersGroups.qml b/qml/components/chatInformationPage/ChatInformationTabItemMembersGroups.qml index d078191..022d43b 100644 --- a/qml/components/chatInformationPage/ChatInformationTabItemMembersGroups.qml +++ b/qml/components/chatInformationPage/ChatInformationTabItemMembersGroups.qml @@ -30,12 +30,11 @@ ChatInformationTabItemBase { title: chatInformationPage.isPrivateChat ? qsTr("Groups", "Button: groups in common (short)") : qsTr("Members", "Button: Group Members") image: "image://theme/icon-m-people" loadingText: isPrivateChat ? qsTr("Loading common chats…", "chats you have in common with a user") : qsTr("Loading group members…") - loading: chatInformationPage.isSuperGroup || chatInformationPage.isPrivateChat + loading: ( chatInformationPage.isSuperGroup || chatInformationPage.isPrivateChat) && !chatInformationPage.isChannel loadingVisible: loading && membersView.count === 0 property variant chatPartnerCommonGroupsIds: ([]); - SilicaListView { id: membersView model: isPrivateChat ? (chatPartnerCommonGroupsIds.length > 0 ? delegateModel : null) : chatInformationPage.membersList @@ -69,8 +68,9 @@ ChatInformationTabItemBase { handleScrollIntoView(true) } ViewPlaceholder { + y: Theme.paddingLarge enabled: membersView.count === 0 - text: chatInformationPage.isPrivateChat ? qsTr("You don't have any groups in common with this user.") : qsTr("This group is empty.") + text: chatInformationPage.isPrivateChat ? qsTr("You don't have any groups in common with this user.") : ( chatInformationPage.isChannel ? qsTr("Channel members are anonymous.") : qsTr("This group is empty.") ) } delegate: PhotoTextsListItem { pictureThumbnail { @@ -108,7 +108,7 @@ ChatInformationTabItemBase { id: loadMoreIndicator anchors.centerIn: parent size: BusyIndicatorSize.Small - running: parent.active + running: tabBase.loading } } } @@ -174,7 +174,7 @@ ChatInformationTabItemBase { interval: 600 property int fetchLimit: 50 onTriggered: { - if(isSuperGroup) { + if(isSuperGroup && !isChannel) { tabBase.loading = true tdLibWrapper.getSupergroupMembers(chatInformationPage.chatPartnerGroupId, fetchLimit, membersList.count); fetchLimit = 200 diff --git a/qml/components/chatInformationPage/ChatInformationTabView.qml b/qml/components/chatInformationPage/ChatInformationTabView.qml index 31b35e5..e399401 100644 --- a/qml/components/chatInformationPage/ChatInformationTabView.qml +++ b/qml/components/chatInformationPage/ChatInformationTabView.qml @@ -41,7 +41,7 @@ Item { height: visible ? headerGrid.height : 0 clip: true - visible: tabView.count > 1 + visible: tabView.count > 0 anchors { left: parent.left diff --git a/qml/components/chatInformationPage/EditSuperGroupSlowModeColumn.qml b/qml/components/chatInformationPage/EditSuperGroupSlowModeColumn.qml index fb51291..e3b94d8 100644 --- a/qml/components/chatInformationPage/EditSuperGroupSlowModeColumn.qml +++ b/qml/components/chatInformationPage/EditSuperGroupSlowModeColumn.qml @@ -48,5 +48,6 @@ Column { x: Theme.horizontalPageMargin font.pixelSize: Theme.fontSizeSmall color: Theme.secondaryHighlightColor + wrapMode: Text.Wrap } } diff --git a/translations/harbour-fernschreiber-de.ts b/translations/harbour-fernschreiber-de.ts index 5750cd1..7aebd6d 100644 --- a/translations/harbour-fernschreiber-de.ts +++ b/translations/harbour-fernschreiber-de.ts @@ -191,6 +191,10 @@ This group is empty. Diese Gruppe ist leer. + + Channel members are anonymous. + Mitglieder von Kanälen sind anonym. + ChatInformationTabItemSettings diff --git a/translations/harbour-fernschreiber-es.ts b/translations/harbour-fernschreiber-es.ts index b3701a0..ac5d8f9 100644 --- a/translations/harbour-fernschreiber-es.ts +++ b/translations/harbour-fernschreiber-es.ts @@ -191,6 +191,10 @@ This group is empty. Este grupo está vacío. + + Channel members are anonymous. + + ChatInformationTabItemSettings diff --git a/translations/harbour-fernschreiber-fi.ts b/translations/harbour-fernschreiber-fi.ts index f278030..d18dc12 100644 --- a/translations/harbour-fernschreiber-fi.ts +++ b/translations/harbour-fernschreiber-fi.ts @@ -191,6 +191,10 @@ This group is empty. Tämä ryhmä on tyhjä. + + Channel members are anonymous. + + ChatInformationTabItemSettings diff --git a/translations/harbour-fernschreiber-hu.ts b/translations/harbour-fernschreiber-hu.ts index 816779d..4c81b7f 100644 --- a/translations/harbour-fernschreiber-hu.ts +++ b/translations/harbour-fernschreiber-hu.ts @@ -191,6 +191,10 @@ This group is empty. + + Channel members are anonymous. + + ChatInformationTabItemSettings diff --git a/translations/harbour-fernschreiber-it.ts b/translations/harbour-fernschreiber-it.ts index cab1b3d..456e463 100644 --- a/translations/harbour-fernschreiber-it.ts +++ b/translations/harbour-fernschreiber-it.ts @@ -191,6 +191,10 @@ Loading group members… Carica membri del gruppo… + + Channel members are anonymous. + + ChatInformationTabItemSettings diff --git a/translations/harbour-fernschreiber-pl.ts b/translations/harbour-fernschreiber-pl.ts index b45c4e3..0ffe8c4 100644 --- a/translations/harbour-fernschreiber-pl.ts +++ b/translations/harbour-fernschreiber-pl.ts @@ -191,6 +191,10 @@ This group is empty. + + Channel members are anonymous. + + ChatInformationTabItemSettings diff --git a/translations/harbour-fernschreiber-ru.ts b/translations/harbour-fernschreiber-ru.ts index b764143..9985b86 100644 --- a/translations/harbour-fernschreiber-ru.ts +++ b/translations/harbour-fernschreiber-ru.ts @@ -191,6 +191,10 @@ This group is empty. + + Channel members are anonymous. + + ChatInformationTabItemSettings diff --git a/translations/harbour-fernschreiber-sv.ts b/translations/harbour-fernschreiber-sv.ts index ea5b349..5ed63b3 100644 --- a/translations/harbour-fernschreiber-sv.ts +++ b/translations/harbour-fernschreiber-sv.ts @@ -191,6 +191,10 @@ This group is empty. Denna grupp är tom. + + Channel members are anonymous. + + ChatInformationTabItemSettings diff --git a/translations/harbour-fernschreiber-zh_CN.ts b/translations/harbour-fernschreiber-zh_CN.ts index 76da045..5325eb2 100644 --- a/translations/harbour-fernschreiber-zh_CN.ts +++ b/translations/harbour-fernschreiber-zh_CN.ts @@ -191,6 +191,10 @@ This group is empty. + + Channel members are anonymous. + + ChatInformationTabItemSettings diff --git a/translations/harbour-fernschreiber.ts b/translations/harbour-fernschreiber.ts index bc684b3..8f38b08 100644 --- a/translations/harbour-fernschreiber.ts +++ b/translations/harbour-fernschreiber.ts @@ -191,6 +191,10 @@ This group is empty. + + Channel members are anonymous. + + ChatInformationTabItemSettings