From d27933fffe8b9870358ce4c08d49e5a85e47e6da Mon Sep 17 00:00:00 2001 From: Han Yin Date: Sun, 31 Aug 2025 21:05:27 -0700 Subject: [PATCH] misc: use sentence case for CTA button labels --- .../com/example/llama/ui/screens/ModelsBrowsingScreen.kt | 2 +- .../ui/screens/ModelsManagementAndDeletingScreen.kt | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/examples/llama.android/app/src/main/java/com/example/llama/ui/screens/ModelsBrowsingScreen.kt b/examples/llama.android/app/src/main/java/com/example/llama/ui/screens/ModelsBrowsingScreen.kt index 1a52a35310..680df3ebdd 100644 --- a/examples/llama.android/app/src/main/java/com/example/llama/ui/screens/ModelsBrowsingScreen.kt +++ b/examples/llama.android/app/src/main/java/com/example/llama/ui/screens/ModelsBrowsingScreen.kt @@ -50,7 +50,7 @@ fun ModelsBrowsingScreen( icon = Icons.Default.FolderOpen, message = message, action = InfoAction( - label = "Get Started", + label = "Get started", icon = Icons.AutoMirrored.Default.ArrowForward, onAction = onManageModelsClicked ) diff --git a/examples/llama.android/app/src/main/java/com/example/llama/ui/screens/ModelsManagementAndDeletingScreen.kt b/examples/llama.android/app/src/main/java/com/example/llama/ui/screens/ModelsManagementAndDeletingScreen.kt index c4cdbe1e03..0a95a2ebf4 100644 --- a/examples/llama.android/app/src/main/java/com/example/llama/ui/screens/ModelsManagementAndDeletingScreen.kt +++ b/examples/llama.android/app/src/main/java/com/example/llama/ui/screens/ModelsManagementAndDeletingScreen.kt @@ -132,7 +132,7 @@ fun ModelsManagementAndDeletingScreen( icon = Icons.Default.Info, message = message, action = InfoAction( - label = "Learn More", + label = "Learn more", icon = Icons.AutoMirrored.Default.Help, onAction = { val url = "https://huggingface.co/docs/hub/en/gguf" @@ -642,10 +642,9 @@ private fun FirstModelImportSuccessDialog( InfoView( title = "Congratulations", icon = Icons.Default.Celebration, - message = "You have just installed your first Large Language Model!\n\n" - + "Tap \"Continue\" to check it out!", + message = "You have just installed your first Large Language Model!", action = InfoAction( - label = "Continue", + label = "Check it out", icon = Icons.AutoMirrored.Default.ArrowForward, onAction = onConfirm ) @@ -736,7 +735,7 @@ private fun ErrorDialog( ) { val action = learnMoreUrl?.let { url -> InfoAction( - label = "Learn More", + label = "Learn more", icon = Icons.AutoMirrored.Outlined.ContactSupport, onAction = { val intent = Intent(Intent.ACTION_VIEW, url.toUri())