diff --git a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/contacts/ContactPreviewView.kt b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/contacts/ContactPreviewView.kt index c02a35891b..90e23e1cb5 100644 --- a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/contacts/ContactPreviewView.kt +++ b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/contacts/ContactPreviewView.kt @@ -40,7 +40,7 @@ fun ContactPreviewView( contactType == ContactType.CARD -> MaterialTheme.colors.primary contactType == ContactType.CONTACT_WITH_REQUEST -> MaterialTheme.colors.primary contactType == ContactType.REQUEST -> MaterialTheme.colors.primary - contactType == ContactType.RECENT && chat.chatInfo.incognito -> Indigo + contactType == ContactType.RECENT -> if (chat.chatInfo.nextConnect) MaterialTheme.colors.primary else Color.Unspecified else -> Color.Unspecified } diff --git a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/newchat/ConnectPlan.kt b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/newchat/ConnectPlan.kt index b9245d0c92..f6562acc72 100644 --- a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/newchat/ConnectPlan.kt +++ b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/newchat/ConnectPlan.kt @@ -473,7 +473,14 @@ fun showPrepareContactAlert( ) { AlertManager.privacySensitive.showOpenChatAlert( profileName = contactShortLinkData.profile.displayName, - profileImage = { ProfileImage(size = 72.dp, image = contactShortLinkData.profile.image) }, + profileImage = { + ProfileImage( + size = 72.dp, + image = contactShortLinkData.profile.image, + icon = if (contactShortLinkData.business) MR.images.ic_work_filled_padded else MR.images.ic_account_circle_filled + ) + }, + confirmText = generalGetString(MR.strings.connect_plan_open_chat), onConfirm = { AlertManager.privacySensitive.hideAlert() withBGApi { @@ -503,6 +510,7 @@ fun showPrepareGroupAlert( AlertManager.privacySensitive.showOpenChatAlert( profileName = groupShortLinkData.groupProfile.displayName, profileImage = { ProfileImage(size = 72.dp, image = groupShortLinkData.groupProfile.image, icon = MR.images.ic_supervised_user_circle_filled) }, + confirmText = generalGetString(MR.strings.connect_plan_open_group), onConfirm = { AlertManager.privacySensitive.hideAlert() withBGApi { diff --git a/apps/multiplatform/common/src/commonMain/resources/MR/base/strings.xml b/apps/multiplatform/common/src/commonMain/resources/MR/base/strings.xml index fa8474454f..4241505daf 100644 --- a/apps/multiplatform/common/src/commonMain/resources/MR/base/strings.xml +++ b/apps/multiplatform/common/src/commonMain/resources/MR/base/strings.xml @@ -13,7 +13,8 @@ You will connect to all group members. Connect Connect incognito - Open + Open chat + Open group Invalid link Please check that SimpleX link is correct.