diff --git a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/group/GroupMemberInfoView.kt b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/group/GroupMemberInfoView.kt index 1dd23a66d4..2b649cba9a 100644 --- a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/group/GroupMemberInfoView.kt +++ b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/group/GroupMemberInfoView.kt @@ -895,7 +895,7 @@ private fun RoleSelectionRow( fun MemberProfileImage( size: Dp, mem: GroupMember, - color: Color = defaultProfileIconColor(), + color: Color = MaterialTheme.colors.secondaryVariant, backgroundColor: Color? = null, async: Boolean = false ) { diff --git a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/helpers/ChatInfoImage.kt b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/helpers/ChatInfoImage.kt index 94ffc10087..0bc8312d0d 100644 --- a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/helpers/ChatInfoImage.kt +++ b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/helpers/ChatInfoImage.kt @@ -25,7 +25,7 @@ import dev.icerock.moko.resources.ImageResource import kotlin.math.max @Composable -fun defaultProfileIconColor(): Color = +private fun defaultProfileIconColor(): Color = if (CurrentColors.value.base == DefaultTheme.LIGHT) MaterialTheme.colors.background.mixWith(MaterialTheme.colors.onBackground, 0.97f) else