mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-05-25 20:44:38 +00:00
remove shading from desktop
This commit is contained in:
+2
-1
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user