π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
ensu android: remove boxed rive wrapper from streaming loader
Prateek Sunal2e2a2d8d9830
diff --git a/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/chat/ChatMessages.kt b/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/chat/ChatMessages.ktindex 5b1270598d..588af0d147 100644--- a/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/chat/ChatMessages.kt+++ b/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/chat/ChatMessages.kt@@ -49,8 +49,6 @@ import androidx.compose.ui.Alignmentimport androidx.compose.ui.Modifierimport androidx.compose.ui.geometry.Offsetimport androidx.compose.ui.graphics.Color-import androidx.compose.ui.graphics.TransformOrigin-import androidx.compose.ui.graphics.graphicsLayerimport androidx.compose.ui.hapticfeedback.HapticFeedbackTypeimport androidx.compose.ui.input.pointer.pointerInputimport androidx.compose.ui.platform.LocalClipboardManager@@ -699,44 +697,20 @@ private fun StreamingMessageBubble(renderedText = text}- val riveBoxWidth = 115.dp- val riveBoxHeight = 52.5.dp- val riveNormalPadding = 32.dp- val riveOutroOverflowScale = 1.08f+ val riveWidth = 115.dp+ val riveHeight = 52.5.dpColumn(modifier = Modifier.fillMaxWidth(),horizontalAlignment = Alignment.Start) {- Box(+ ensuRiveAnimation(modifier = Modifier- .width(riveBoxWidth)- .height(riveBoxHeight + riveNormalPadding)- .graphicsLayer { clip = false },- contentAlignment = Alignment.TopStart- ) {- Box(- modifier = Modifier- .width(riveBoxWidth)- .height(riveBoxHeight)- .graphicsLayer { clip = false },- contentAlignment = Alignment.TopStart- ) {- ensuRiveAnimation(- modifier = Modifier- .fillMaxSize()- .graphicsLayer {- val overflowScale = if (isGenerating) 1f else riveOutroOverflowScale- scaleX = overflowScale- scaleY = overflowScale- transformOrigin = TransformOrigin(0f, 0f)- clip = false- },- outroTrigger = !isGenerating,- outroInputName = "outro"- )- }- }+ .width(riveWidth)+ .height(riveHeight),+ outroTrigger = !isGenerating,+ outroInputName = "outro"+ )if (renderedText.isNotBlank()) {Spacer(modifier = Modifier.height(EnsuSpacing.xs.dp))