fix Live Call overlay: opaque MeshBackground instead of transparent scrim
The overlay used a semi-transparent Color.White/Black scrim (alpha 0.85-0.88), letting the chat content bleed through. Replaced with MeshBackground (frozen blobs, no animation) for a proper opaque fullscreen call UI.
This commit is contained in:
parent
0744194c84
commit
1e5bbf38b9
1 changed files with 14 additions and 15 deletions
|
|
@ -27,6 +27,7 @@ import androidx.compose.ui.unit.dp
|
|||
import androidx.compose.ui.unit.sp
|
||||
import dev.kaizen.app.R
|
||||
import dev.kaizen.app.chat.KaizenOrb
|
||||
import dev.kaizen.app.chat.MeshBackground
|
||||
import dev.kaizen.app.ui.effect.GlassSurface
|
||||
import dev.kaizen.app.ui.effect.KaizenShadows
|
||||
import dev.kaizen.app.ui.icon.KaizenIcons
|
||||
|
|
@ -48,13 +49,10 @@ fun LiveCallOverlay(
|
|||
val accent = LocalKaizenAccent.current
|
||||
val cs = MaterialTheme.colorScheme
|
||||
|
||||
MeshBackground(animateBlobs = false) {
|
||||
Box(
|
||||
modifier
|
||||
.fillMaxSize()
|
||||
.background(
|
||||
if (isDark) Color.Black.copy(alpha = 0.85f)
|
||||
else Color.White.copy(alpha = 0.88f)
|
||||
)
|
||||
.statusBarsPadding()
|
||||
.navigationBarsPadding(),
|
||||
contentAlignment = Alignment.Center,
|
||||
|
|
@ -148,6 +146,7 @@ fun LiveCallOverlay(
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Composable
|
||||
private fun EndCallButton(onClick: () -> Unit) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue