Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

ensu: enlarge drawer Rive to 2x and bump streaming illustration size

Prateek Sunalb29c1510c24f
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.kt
index 1e039aa133..d3eb17d16a 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
@@ -678,8 +678,8 @@ private fun StreamingMessageBubble(text: String) {
ensuRiveAnimation(
modifier = Modifier
.wrapContentSize(align = Alignment.TopStart)
- .width(92.dp)
- .height(42.dp)
+ .width(115.dp)
+ .height(52.5.dp)
)
if (renderedText.isNotBlank()) {
diff --git a/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/chat/SessionDrawer.kt b/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/chat/SessionDrawer.kt
index 261c9863f7..e738f412a4 100644
--- a/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/chat/SessionDrawer.kt
+++ b/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/chat/SessionDrawer.kt
@@ -144,8 +144,8 @@ private fun DrawerHeader(
) {
ensuRiveAnimation(
modifier = Modifier
- .width(124.dp)
- .height(32.dp)
+ .width(248.dp)
+ .height(64.dp)
)
}
diff --git a/mobile/native/darwin/Apps/ensu/ensu/Chat/MessageList/MessageListComponents.swift b/mobile/native/darwin/Apps/ensu/ensu/Chat/MessageList/MessageListComponents.swift
index df296e9055..58eab81141 100644
--- a/mobile/native/darwin/Apps/ensu/ensu/Chat/MessageList/MessageListComponents.swift
+++ b/mobile/native/darwin/Apps/ensu/ensu/Chat/MessageList/MessageListComponents.swift
@@ -227,7 +227,7 @@ struct StreamingBubbleView: View {
HStack(alignment: .bottom) {
VStack(alignment: .leading, spacing: EnsuSpacing.sm) {
- EnsuBrandIllustration(width: 92, height: 42)
+ EnsuBrandIllustration(width: 115, height: 52.5)
if hasText {
TimelineView(.periodic(from: .now, by: 0.55)) { context in
diff --git a/mobile/native/darwin/Apps/ensu/ensu/Chat/SessionDrawerView.swift b/mobile/native/darwin/Apps/ensu/ensu/Chat/SessionDrawerView.swift
index f63d29edf1..ea50f437b2 100644
--- a/mobile/native/darwin/Apps/ensu/ensu/Chat/SessionDrawerView.swift
+++ b/mobile/native/darwin/Apps/ensu/ensu/Chat/SessionDrawerView.swift
@@ -79,7 +79,7 @@ struct SessionDrawerView: View {
}
private var drawerLogo: some View {
- EnsuBrandIllustration(width: 124, height: 32)
+ EnsuBrandIllustration(width: 248, height: 64)
}
private var headerControls: some View {