Use symbolic chat app bar actions

This commit is contained in:
OpenClaw committed 2026-03-07 21:20:55 +08:00
1 parent f0379b9b4e
commit 15e57ad1f9
2 files changed
+7 -6

No files matched your search

@@ -149,15 +149,15 @@ private fun OpenClawRoot(appState: OpenClawAppState) {
)
},
navigationIcon = {
Button(onClick = appState::closeChat) {
Text("返回")
TextButton(onClick = appState::closeChat) {
Text("←")
}
},
actions = {
Button(onClick = { pickAttachment() }) {
Text("附件")
TextButton(onClick = { pickAttachment() }) {
Text("+")
}
Button(onClick = {
TextButton(onClick = {
activeSession?.id?.let { sessionId ->
coroutineScope.launch {
appState.clearSyncError()
@@ -165,7 +165,7 @@ private fun OpenClawRoot(appState: OpenClawAppState) {
}
}
}) {
Text(if (appState.repository.streamStatusFor(route.sessionId) == "failed") "重连" else "刷新")
Text(if (appState.repository.streamStatusFor(route.sessionId) == "failed") "⟳" else "↻")
}
},
)