mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-23 10:43:05 +00:00
fix
This commit is contained in:
1 parent
146c8db3db
commit
afcf43fe0a
2 files changed
+4
-4
No files matched your search
+2
-2
@@ -1282,14 +1282,14 @@ fun BoxScope.ChatInfoToolbar(
|
||||
is ChatInfo.Group -> {
|
||||
// Add members / group link moved to menu
|
||||
if (chatInfo.groupInfo.canAddMembers) {
|
||||
if (chatInfo.incognito) {
|
||||
if (chatInfo.incognito || chatInfo.groupInfo.useRelays) {
|
||||
menuItems.add {
|
||||
ItemAction(stringResource(MR.strings.group_link), painterResource(MR.images.ic_add_link), onClick = {
|
||||
showMenu.value = false
|
||||
openGroupLink(chatInfo.groupInfo)
|
||||
})
|
||||
}
|
||||
} else if (!chatInfo.groupInfo.useRelays) {
|
||||
} else {
|
||||
menuItems.add {
|
||||
ItemAction(stringResource(MR.strings.icon_descr_add_members), painterResource(MR.images.ic_person_add_500), onClick = {
|
||||
showMenu.value = false
|
||||
|
||||
Reference in new issue
Block a user