diff --git a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chatlist/UserPicker.kt b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chatlist/UserPicker.kt index d630843afc..04392dc8e4 100644 --- a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chatlist/UserPicker.kt +++ b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chatlist/UserPicker.kt @@ -18,6 +18,7 @@ import androidx.compose.runtime.saveable.rememberSaveable import androidx.compose.ui.* import androidx.compose.ui.draw.* import androidx.compose.ui.geometry.Offset +import androidx.compose.ui.geometry.Size import androidx.compose.ui.graphics.* import androidx.compose.ui.graphics.painter.Painter import dev.icerock.moko.resources.compose.painterResource @@ -489,7 +490,7 @@ fun UserPicker( } Box( - Modifier.drawBehind { drawRect(animatedColor.value) } + if (appPlatform.isAndroid) Modifier.drawBehind { drawRect(animatedColor.value) } else Modifier ) { AnimatedVisibility( visible = newChat.isVisible(),