Fix chat screen call signature
This commit is contained in:
1 parent
dc7083507d
commit
662b4d24cd
1 file changed
-4
@@ -242,7 +242,6 @@ private fun OpenClawRoot(appState: OpenClawAppState) {
|
|||||||
cacheNotice = if (appState.isShowingCachedData) {
|
cacheNotice = if (appState.isShowingCachedData) {
|
||||||
"当前展示的是本地缓存${appState.cacheSavedAt?.let { "(保存于 $it)" } ?: ""},正在等待最新数据。"
|
"当前展示的是本地缓存${appState.cacheSavedAt?.let { "(保存于 $it)" } ?: ""},正在等待最新数据。"
|
||||||
} else null,
|
} else null,
|
||||||
onBack = appState::closeChat,
|
|
||||||
onRetry = {
|
onRetry = {
|
||||||
coroutineScope.launch {
|
coroutineScope.launch {
|
||||||
appState.clearSyncError()
|
appState.clearSyncError()
|
||||||
@@ -254,9 +253,6 @@ private fun OpenClawRoot(appState: OpenClawAppState) {
|
|||||||
appState.sendMessage(session.id, text)
|
appState.sendMessage(session.id, text)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onSendAttachmentStub = {
|
|
||||||
pickAttachment()
|
|
||||||
},
|
|
||||||
onRetryAttachment = { messageId ->
|
onRetryAttachment = { messageId ->
|
||||||
coroutineScope.launch {
|
coroutineScope.launch {
|
||||||
appState.retryAttachment(session.id, messageId)
|
appState.retryAttachment(session.id, messageId)
|
||||||
|
|||||||
Reference in new issue
Block a user