misc: use sentence case for CTA button labels

This commit is contained in:
Han Yin 2025-08-31 21:05:27 -07:00
parent 5471635c9d
commit d27933fffe
2 changed files with 5 additions and 6 deletions

View File

@ -50,7 +50,7 @@ fun ModelsBrowsingScreen(
icon = Icons.Default.FolderOpen, icon = Icons.Default.FolderOpen,
message = message, message = message,
action = InfoAction( action = InfoAction(
label = "Get Started", label = "Get started",
icon = Icons.AutoMirrored.Default.ArrowForward, icon = Icons.AutoMirrored.Default.ArrowForward,
onAction = onManageModelsClicked onAction = onManageModelsClicked
) )

View File

@ -132,7 +132,7 @@ fun ModelsManagementAndDeletingScreen(
icon = Icons.Default.Info, icon = Icons.Default.Info,
message = message, message = message,
action = InfoAction( action = InfoAction(
label = "Learn More", label = "Learn more",
icon = Icons.AutoMirrored.Default.Help, icon = Icons.AutoMirrored.Default.Help,
onAction = { onAction = {
val url = "https://huggingface.co/docs/hub/en/gguf" val url = "https://huggingface.co/docs/hub/en/gguf"
@ -642,10 +642,9 @@ private fun FirstModelImportSuccessDialog(
InfoView( InfoView(
title = "Congratulations", title = "Congratulations",
icon = Icons.Default.Celebration, icon = Icons.Default.Celebration,
message = "You have just installed your first Large Language Model!\n\n" message = "You have just installed your first Large Language Model!",
+ "Tap \"Continue\" to check it out!",
action = InfoAction( action = InfoAction(
label = "Continue", label = "Check it out",
icon = Icons.AutoMirrored.Default.ArrowForward, icon = Icons.AutoMirrored.Default.ArrowForward,
onAction = onConfirm onAction = onConfirm
) )
@ -736,7 +735,7 @@ private fun ErrorDialog(
) { ) {
val action = learnMoreUrl?.let { url -> val action = learnMoreUrl?.let { url ->
InfoAction( InfoAction(
label = "Learn More", label = "Learn more",
icon = Icons.AutoMirrored.Outlined.ContactSupport, icon = Icons.AutoMirrored.Outlined.ContactSupport,
onAction = { onAction = {
val intent = Intent(Intent.ACTION_VIEW, url.toUri()) val intent = Intent(Intent.ACTION_VIEW, url.toUri())