diff --git a/apps/ios/Shared/Views/Chat/Group/GroupChatInfoView.swift b/apps/ios/Shared/Views/Chat/Group/GroupChatInfoView.swift index 1be8070259..053edd1cb9 100644 --- a/apps/ios/Shared/Views/Chat/Group/GroupChatInfoView.swift +++ b/apps/ios/Shared/Views/Chat/Group/GroupChatInfoView.swift @@ -103,9 +103,10 @@ struct GroupChatInfoView: View { } } - let showUserSupportChat = groupInfo.membership.memberActive - && ((groupInfo.fullGroupPreferences.support.on && groupInfo.membership.memberRole < .moderator) - || groupInfo.membership.supportChat != nil) + let showUserSupportChat = groupInfo.membership.supportChat != nil + || (groupInfo.membership.memberActive + && groupInfo.fullGroupPreferences.support.on + && groupInfo.membership.memberRole < .moderator) if groupInfo.useRelays { Section { diff --git a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/group/GroupChatInfoView.kt b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/group/GroupChatInfoView.kt index 49e7ac6db7..722a8fe008 100644 --- a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/group/GroupChatInfoView.kt +++ b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/group/GroupChatInfoView.kt @@ -629,9 +629,10 @@ fun ModalData.GroupChatInfoLayout( var anyTopSectionRowShow = false val channelLink = groupInfo.groupProfile.publicGroup?.groupLink - val showUserSupportChat = groupInfo.membership.memberActive && - ((groupInfo.fullGroupPreferences.support.on && groupInfo.membership.memberRole < GroupMemberRole.Moderator) - || groupInfo.membership.supportChat != null) + val showUserSupportChat = groupInfo.membership.supportChat != null || + (groupInfo.membership.memberActive + && groupInfo.fullGroupPreferences.support.on + && groupInfo.membership.memberRole < GroupMemberRole.Moderator) if (groupInfo.useRelays) { SectionView {