Your phone, on your command. Gotcha is world's first fully on-device AI copilot for Android that turns natural language into real device actions — safely.
feat: show Gotcha logo above the home screen greeting
Durganshu Mishrad97363eccb1d
diff --git a/app/src/main/java/com/gotcha/ui/ChatScreen.kt b/app/src/main/java/com/gotcha/ui/ChatScreen.ktindex dde8e90..afbfcc0 100644--- a/app/src/main/java/com/gotcha/ui/ChatScreen.kt+++ b/app/src/main/java/com/gotcha/ui/ChatScreen.kt@@ -4,6 +4,7 @@ import android.net.Uriimport androidx.activity.compose.rememberLauncherForActivityResultimport androidx.activity.result.contract.ActivityResultContractsimport androidx.compose.foundation.background+import androidx.compose.foundation.layout.Arrangementimport androidx.compose.foundation.layout.Boximport androidx.compose.foundation.layout.Columnimport androidx.compose.foundation.layout.Row@@ -55,9 +56,11 @@ import androidx.compose.ui.draw.clipimport androidx.compose.ui.graphics.Colorimport androidx.compose.ui.graphics.asImageBitmapimport androidx.compose.ui.layout.ContentScale+import androidx.compose.ui.res.painterResourceimport androidx.compose.ui.text.style.TextAlignimport androidx.compose.ui.text.style.TextOverflowimport androidx.compose.ui.unit.dp+import com.gotcha.Rimport com.gotcha.agent.ChatUiStateimport com.gotcha.tools.AgentModeimport kotlinx.coroutines.delay@@ -166,10 +169,17 @@ fun ChatScreen(}if (isHome) {val greeting = rememberSaveable(state.activeSessionId) { HOME_GREETINGS.random() }- Box(+ Column(modifier = Modifier.weight(1f).fillMaxWidth().padding(horizontal = 32.dp),- contentAlignment = Alignment.Center+ verticalArrangement = Arrangement.Center,+ horizontalAlignment = Alignment.CenterHorizontally) {+ ComposeImage(+ painter = painterResource(R.mipmap.ic_launcher_round),+ contentDescription = "Gotcha logo",+ modifier = Modifier.size(96.dp).clip(CircleShape)+ )+ Spacer(modifier = Modifier.height(24.dp))Text(greeting,style = MaterialTheme.typography.headlineMedium,