Skip to content

Commit c28f542

Browse files
丁俊杰丁俊杰
authored andcommitted
Merge branch 'main' of github.com:openclaw/openclaw
2 parents 5baba99 + 37c79f8 commit c28f542

4 files changed

Lines changed: 33 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Docs: https://docs.openclaw.ai
2222
- Configure/startup: move outbound send-deps resolution into a lightweight helper so `openclaw configure` no longer stalls after the banner while eagerly loading channel plugins. (#46301) thanks @scoootscooob.
2323
- Zalo Personal/group gating: stop reapplying `dmPolicy.allowFrom` as a sender gate for already-allowlisted groups when `groupAllowFrom` is unset, so any member of an allowed group can trigger replies while DMs stay restricted. (#40146)
2424
- Plugins/install precedence: keep bundled plugins ahead of auto-discovered globals by default, but let an explicitly installed plugin record win its own duplicate-id tie so installed channel plugins load from `~/.openclaw/extensions` after `openclaw plugins install`.
25+
- Android/chat: theme the thinking dropdown and TLS trust dialogs explicitly so popup surfaces match the active app theme instead of falling back to mismatched Material defaults.
2526

2627
### Fixes
2728

apps/android/app/src/main/java/ai/openclaw/app/ui/ConnectTabScreen.kt

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,20 +92,28 @@ fun ConnectTabScreen(viewModel: MainViewModel) {
9292
val prompt = pendingTrust!!
9393
AlertDialog(
9494
onDismissRequest = { viewModel.declineGatewayTrustPrompt() },
95-
title = { Text("Trust this gateway?") },
95+
containerColor = mobileCardSurface,
96+
title = { Text("Trust this gateway?", style = mobileHeadline, color = mobileText) },
9697
text = {
9798
Text(
9899
"First-time TLS connection.\n\nVerify this SHA-256 fingerprint before trusting:\n${prompt.fingerprintSha256}",
99100
style = mobileCallout,
101+
color = mobileText,
100102
)
101103
},
102104
confirmButton = {
103-
TextButton(onClick = { viewModel.acceptGatewayTrustPrompt() }) {
105+
TextButton(
106+
onClick = { viewModel.acceptGatewayTrustPrompt() },
107+
colors = ButtonDefaults.textButtonColors(contentColor = mobileAccent),
108+
) {
104109
Text("Trust and continue")
105110
}
106111
},
107112
dismissButton = {
108-
TextButton(onClick = { viewModel.declineGatewayTrustPrompt() }) {
113+
TextButton(
114+
onClick = { viewModel.declineGatewayTrustPrompt() },
115+
colors = ButtonDefaults.textButtonColors(contentColor = mobileTextSecondary),
116+
) {
109117
Text("Cancel")
110118
}
111119
},

apps/android/app/src/main/java/ai/openclaw/app/ui/OnboardingFlow.kt

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -455,19 +455,28 @@ fun OnboardingFlow(viewModel: MainViewModel, modifier: Modifier = Modifier) {
455455
val prompt = pendingTrust!!
456456
AlertDialog(
457457
onDismissRequest = { viewModel.declineGatewayTrustPrompt() },
458-
title = { Text("Trust this gateway?") },
458+
containerColor = onboardingSurface,
459+
title = { Text("Trust this gateway?", style = onboardingHeadlineStyle, color = onboardingText) },
459460
text = {
460461
Text(
461462
"First-time TLS connection.\n\nVerify this SHA-256 fingerprint before trusting:\n${prompt.fingerprintSha256}",
463+
style = onboardingCalloutStyle,
464+
color = onboardingText,
462465
)
463466
},
464467
confirmButton = {
465-
TextButton(onClick = { viewModel.acceptGatewayTrustPrompt() }) {
468+
TextButton(
469+
onClick = { viewModel.acceptGatewayTrustPrompt() },
470+
colors = ButtonDefaults.textButtonColors(contentColor = onboardingAccent),
471+
) {
466472
Text("Trust and continue")
467473
}
468474
},
469475
dismissButton = {
470-
TextButton(onClick = { viewModel.declineGatewayTrustPrompt() }) {
476+
TextButton(
477+
onClick = { viewModel.declineGatewayTrustPrompt() },
478+
colors = ButtonDefaults.textButtonColors(contentColor = onboardingTextSecondary),
479+
) {
471480
Text("Cancel")
472481
}
473482
},

apps/android/app/src/main/java/ai/openclaw/app/ui/chat/ChatComposer.kt

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,15 @@ fun ChatComposer(
128128
}
129129
}
130130

131-
DropdownMenu(expanded = showThinkingMenu, onDismissRequest = { showThinkingMenu = false }) {
131+
DropdownMenu(
132+
expanded = showThinkingMenu,
133+
onDismissRequest = { showThinkingMenu = false },
134+
shape = RoundedCornerShape(16.dp),
135+
containerColor = mobileCardSurface,
136+
tonalElevation = 0.dp,
137+
shadowElevation = 8.dp,
138+
border = BorderStroke(1.dp, mobileBorder),
139+
) {
132140
ThinkingMenuItem("off", thinkingLevel, onSetThinkingLevel) { showThinkingMenu = false }
133141
ThinkingMenuItem("low", thinkingLevel, onSetThinkingLevel) { showThinkingMenu = false }
134142
ThinkingMenuItem("medium", thinkingLevel, onSetThinkingLevel) { showThinkingMenu = false }

0 commit comments

Comments
 (0)