mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-07-19 13:47:25 +00:00
Revert "MemberProfileImage: use defaultProfileIconColor instead of secondaryVariant"
This reverts commit bea3f24664.
This commit is contained in:
+1
-1
@@ -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
|
||||
) {
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user